Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multithreading support #63

Open
paulin-mipt opened this issue Apr 18, 2022 · 0 comments
Open

Multithreading support #63

paulin-mipt opened this issue Apr 18, 2022 · 0 comments

Comments

@paulin-mipt
Copy link

A known issue with Google API is Http() objects being not thread safe (https://github.com/googleapis/google-api-python-client/blob/main/docs/thread_safety.md).

For my usecase (a multithreaded chat bot interacting with Spreadsheets heavily) it appears as various SSL errors during sheet access and occasional python core dumps.

So far I've done a quick dirty fix which might eventually grow up to PR here, but just wanted to leave it as a note in case you folks know a better way to handle multithreading. Your package is way too convenient to just drop it because of concurrency issues :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant