Skip to content

Commit 6240809

Browse files
asmyasnikovqrort
authored andcommitted
Apply suggestions from code review
1 parent 210a121 commit 6240809

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,9 @@ func ExcludeGRPCCodesForPessimization(codes ...grpcCodes.Code) Option {
311311
}
312312
}
313313

314+
// WithDisableOptimisticUnban disabled unban nodes in case of success response just after pessimization.
315+
//
314316
// Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental
315-
// Do not unban node in case of success response just after pessimization.
316317
func WithDisableOptimisticUnban() Option {
317318
return func(c *Config) {
318319
c.disableOptimisticUnban = false

0 commit comments

Comments
 (0)