Skip to content

Commit

Permalink
Increase poll timeouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakku committed Aug 15, 2017
1 parent 9513eba commit 27f7901
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions internal_task_pollers.go
Expand Up @@ -102,6 +102,7 @@ func isServiceTransientError(err error) bool {
}

// s.InternalServiceError
// s.ServiceBusyError
return true
}

Expand Down
4 changes: 2 additions & 2 deletions internal_worker_base.go
Expand Up @@ -36,8 +36,8 @@ import (
)

const (
retryPollOperationInitialInterval = time.Millisecond
retryPollOperationMaxInterval = 1 * time.Second
retryPollOperationInitialInterval = 20 * time.Millisecond
retryPollOperationMaxInterval = 60 * time.Second
retryPollOperationExpirationInterval = backoff.NoInterval // We don't ever expire
)

Expand Down

0 comments on commit 27f7901

Please sign in to comment.