Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

fix: remove erroneous timeouts for batch_create_session calls - #18

Merged
larkee merged 4 commits into
googleapis:masterfrom
larkee:remove-erroneous-timeouts
Feb 19, 2020
Merged

fix: remove erroneous timeouts for batch_create_session calls#18
larkee merged 4 commits into
googleapis:masterfrom
larkee:remove-erroneous-timeouts

Conversation

@larkee

@larkee larkee commented Feb 18, 2020

Copy link
Copy Markdown
Contributor

Currently the timeout that is used for getting a session from the pool is mistakenly being used for the batch_create_sessions calls that are used to initially fill pools. If the timeout is short, the call does not have time to complete and the pools fails to initialize. Removing this timeout means the default timeout for BatchCreateSessions will be used.

@larkee larkee added the api: spanner Issues related to the googleapis/python-spanner API. label Feb 18, 2020
@larkee
larkee requested a review from skuruppu February 18, 2020 04:23
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 18, 2020
Comment thread google/cloud/spanner_v1/pool.py
@larkee
larkee merged commit 997a034 into googleapis:master Feb 19, 2020
@larkee
larkee deleted the remove-erroneous-timeouts branch February 19, 2020 03:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants