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

Fix Request dispatching #87

Merged
merged 10 commits into from
May 3, 2024
Merged

Fix Request dispatching #87

merged 10 commits into from
May 3, 2024

Conversation

meksor
Copy link
Contributor

@meksor meksor commented May 2, 2024

#76 Introduced a problem for programs who themselves are running within something like an asyncio.run call.
Since this is the case for any jupyter notebook this is not very convenient.
I switched the approach to use a ThreadPoolExecutor instead and it seems to work, please verify @danielhuppmann.

@meksor
Copy link
Contributor Author

meksor commented May 2, 2024

Tests failing b/c of manager database outage...

@danielhuppmann
Copy link
Member

Thanks @meksor - works for me in a Jupyter notebook now (also with requesting all data from ssp-extensions, 1.5m rows), but two tests are failing because of shut-down future...

@meksor
Copy link
Contributor Author

meksor commented May 3, 2024

fixed!

Copy link
Member

@danielhuppmann danielhuppmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works in my notebook again, many thanks!

@meksor meksor merged commit ac67d4a into main May 3, 2024
9 checks passed
@meksor meksor deleted the bugfix/request-dispatching branch May 3, 2024 10:55
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

Successfully merging this pull request may close these issues.

2 participants