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 May 7, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 7, 2026. It is now read-only.
Datastore: Allow retry and timeout configuration on a per instance level #3
Seems the configuration for these two items are buried in the code and can't be configured on a per use basis. When debugging connectivity issues the default timeout takes forever and would love to set a shorter timeout on my calls to query.fetch(...) for example.
Activity
tseaver commentedon Aug 11, 2020
Sketch of implementation:
retryandtimeoutargs toBatch.commitand plumb through to the underlying RPC in_commit.retryandtimeoutargs toClient.get, and plumb through to the underlying RPC.retryandtimeoutargs toClient.get_multi, and plumb through to the underlying RPC.retryandtimeoutargs toClient.put, and plumb through to the underlying RPC (Batch.commit).retryandtimeoutargs toClient.put_multi, and plumb through to the underlying RPC (Batch.commit).retryandtimeoutargs toClient.delete, and plumb through to the underlying RPC (Batch.commit).retryandtimeoutargs toClient.delete_multi, and plumb through to the underlying RPC (Batch.commit).retryandtimeoutargs toClient.allocate_ids, and plumb through to the underlying RPC.retryandtimeoutargs toClient.reserve_ids, and plumb through to the underlying RPC.retryandtimeoutargs toTransaction.begin, and plumb through to the underlying RPC.retryandtimeoutargs toTransaction.rollback, and plumb through to the underlying RPC.retryandtimeoutargs toTransaction.commit, and plumb through to the base class method.retryandtimeoutargs toquery.Iteratorctor, and plumb through to the underlying RPC in_next_page.retryandtimeoutargs toQuery.fetch, and plumb through to the iterator ctor.feat: add 'retry'/'timeout' args to 'Batch.commit'
feat: add 'retry'/'timeout' args to 'Client.get'/'Client.get_multi'
feat: add 'retry'/'timeout' args to 'Client.put'/'Client.put_multi'
feat: add 'retry'/'timeout' args to 'Client.delete'/'Client.delete_mu…
feat: add 'retry'/'timeout' args to 'Client.allocate_ids'
feat: add 'retry'/'timeout' args to 'Client.reserve_ids'
feat: add 'retry'/'timeout' args to 'Transaction.begin'
feat: add 'retry'/'timeout' args to 'Transaction.rollback'
feat: add 'retry'/'timeout' args to 'Transaction.commit'
feat: add 'retry'/'timeout' to 'Query.fetch' and iterator.
feat: add retry and timeout args to API methods (#67)