Skip to content
Permalink
Browse files

Bump up backoff and retries.

  • Loading branch information...
archon810 committed Aug 13, 2019
1 parent 58387c0 commit 941961bb272cb43f7d8b8382384d7877b17f9e65
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/duplicacy_gcdstorage.go
@@ -53,9 +53,9 @@ type GCDConfig struct {

func (storage *GCDStorage) shouldRetry(threadIndex int, err error) (bool, error) {

const MAX_ATTEMPTS = 15
const MAX_ATTEMPTS = 20

maximumBackoff := 64
maximumBackoff := 131072
if maximumBackoff < storage.numberOfThreads {
maximumBackoff = storage.numberOfThreads
}

0 comments on commit 941961b

Please sign in to comment.
You can’t perform that action at this time.