-
Notifications
You must be signed in to change notification settings - Fork 14
Make client work with gevent monkey patching #328
Copy link
Copy link
Open
Labels
api: pubsubliteIssues related to the googleapis/python-pubsublite API.Issues related to the googleapis/python-pubsublite API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
api: pubsubliteIssues related to the googleapis/python-pubsublite API.Issues related to the googleapis/python-pubsublite API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Hello,
google-cloud-pubsubliteversion: 1.4.1Steps to reproduce
Code example
When running the code with the monkey.patch_all(), publish() hangs.
I debugged a little bit, looks "thread" and "select" patch affect pubsublite. If I didn't patch these two as below, it worked as expected. Not sure if pubsublite is gevent friendly? My case is I need patch all.
Thanks!