Skip to content
Browse files
fix(spanner): mark SessionPoolConfig.MaxBurst deprecated (#4115)
  • Loading branch information
hengfengli committed May 19, 2021
1 parent a2538e1 commit d60a68649f85f1edfbd8f11673bb280813c2b771
Showing 1 changed file with 8 additions and 0 deletions.
@@ -411,6 +411,14 @@ type SessionPoolConfig struct {

// MaxBurst is the maximum number of concurrent session creation requests.
// Deprecated: MaxBurst exists for historical compatibility and should not
// be used. MaxBurst was used to limit the number of sessions that the
// session pool could create within a time frame. This was an early safety
// valve to prevent a client from overwhelming the backend if a large number
// of sessions was suddenly needed. The session pool would then pause the
// creation of sessions for a while. Such a pause is no longer needed and
// the implementation has been removed from the pool.
// Defaults to 10.
MaxBurst uint64

0 comments on commit d60a686

Please sign in to comment.