FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PubSub: Allow user specified timeout for this executor.submit() (nice to have) · Issue #4798 · googleapis/google-cloud-python · GitHub

PubSub: Allow user specified timeout for this executor.submit() (nice to have) #4798

Description

https://github.com/GoogleCloudPlatform/google-cloud-python/blob/b2c7c11e4e24cf571cd5601803a883542136552c/pubsub/google/cloud/pubsub_v1/subscriber/policy/thread.py#L338

Since the future will block indefinitely, it would be nice to be able to specify a timeout. The current work-around we use is to ensure that the callback function doesn't block forever, but that requires introducing yet another thread construct into the situation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL