You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Set number of threads for async executor provider as a system property #2631
The ExecutorProvider that is used for the Async API in the client library can be set using the SpannerOptions$Builder#setAsyncExecutorProvidermethod. This makes it possible for direct users of the Async API to determine the type of executor and the number of threads to use. This configuration is however not accessible to anyone using an abstraction on top of the client library, such as the Spanner R2DBC driver, unless that abstraction has also added support for this configuration property to their own API.
When no ExecutorProvider has been set, the Java client library will use a default 8-thread Executor. The '8 threads' is currently hard-coded. We should change this hard-coded value into one that can be set with a system property, so users of both the client library and any driver that builds on top of it can set a different default.
Activity
feat: support setting core pool size for async API in system property
feat: support setting core pool size for async API in system property (…
feat: support setting core pool size for async API in system property (…
chore(main): release 6.50.0 (#2648)