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 "RuntimeError" using "set_start_method()" after "logger" import #985

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

Delgan
Copy link
Owner

@Delgan Delgan commented Sep 11, 2023

Fix #974.

Calling "multiprocessing.get_context(method=None)" had the unexpected
side effect of also fixing the global start method (which can't be
changed afterwards).
@Delgan Delgan merged commit 086126f into master Sep 11, 2023
@Delgan Delgan deleted the GH-974-fix-multiprocessing-context branch September 11, 2023 14:19
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.

RuntimeError: context has already been set. When I use both Sanic and loguru
1 participant