Increase deadline timeout for estimating snapshot send size, from 15 to 60 seconds
This commit is contained in:
parent
9e6bcc9df5
commit
3805d8a4c1
|
@ -241,7 +241,7 @@ func (d *Dataset) SendSize(FromName string, flags SendFlags) (size int64, err er
|
|||
errch <- tmpe
|
||||
}()
|
||||
|
||||
r.SetReadDeadline(time.Now().Add(15 * time.Second))
|
||||
r.SetReadDeadline(time.Now().Add(60 * time.Second))
|
||||
var data []byte
|
||||
if data, err = ioutil.ReadAll(r); err != nil {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue