Set default MaxRestRetries to 3
This commit is contained in:
parent
092ed4b585
commit
ebb910f3ac
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ func New(args ...interface{}) (s *Session, err error) {
|
||||||
ShouldReconnectOnError: true,
|
ShouldReconnectOnError: true,
|
||||||
ShardID: 0,
|
ShardID: 0,
|
||||||
ShardCount: 1,
|
ShardCount: 1,
|
||||||
|
MaxRestRetries: 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
// If no arguments are passed return the empty Session interface.
|
// If no arguments are passed return the empty Session interface.
|
||||||
|
|
Loading…
Reference in a new issue