Set default MaxRestRetries to 3

This commit is contained in:
jonas747 2016-09-27 18:25:40 +02:00
parent 092ed4b585
commit ebb910f3ac

View file

@ -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.