-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Bypass signal handler if running in a thread (#3251)
* Bypass signal handler if running in a thread - enables full sync compatibility if `run_sync=True` * Ruff 🐶 * Refactor to use a context manager * Add tests * Add tests for executor factory when not in main thread * Fix executor factory logic
- Loading branch information
1 parent
3f58c4b
commit 8c82306
Showing
2 changed files
with
190 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters