Skip to content

Commit

Permalink
Merge pull request #8 from rocaltair/modify-MaxRetryTimes
Browse files Browse the repository at this point in the history
modify MaxRetryTimes from 3 times to 6
  • Loading branch information
rockuw authored Mar 9, 2018
2 parents 60394b5 + dc30ba7 commit 3493be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var OTSNoRetryPolicy NoRetryPolicy
var OTSNoDelayRetryPolicy NoDelayRetryPolicy

func init() {
OTSDefaultRetryPolicy.MaxRetryTimes = 3
OTSDefaultRetryPolicy.MaxRetryTimes = 6
OTSDefaultRetryPolicy.MaxRetryDelay = 2
OTSDefaultRetryPolicy.ScaleFactor = 2
OTSDefaultRetryPolicy.ServerThrottlingExceptionDelayFactor = 0.5
Expand Down

0 comments on commit 3493be0

Please sign in to comment.