Bump the upload retry interval up to 30s

This commit is contained in:
Richard Patel 2018-11-20 04:13:20 +01:00
parent 3fc8837dd7
commit a2df2972f4
No known key found for this signature in database
GPG Key ID: C268B2BBDA2ABECB

View File

@ -105,7 +105,7 @@ func uploadChunks(websiteId uint64, f *os.File) error {
for retries := 0; retries < 10; retries++ {
if retries > 0 {
// Error occurred, retry upload
time.Sleep(5 * time.Second)
time.Sleep(30 * time.Second)
}
req, err := http.NewRequest(