-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config: Add option to change recursion limit in daemon workers (#6044)
Add the `daemon.recursion_limit` config option which is used by a daemon worker to set the recursion limit using `sys.setrecursionlimit`. This is to help with the current problem where heavy workloads with many process functions can create deep stacks which would result in `RecursionError` exceptions being thrown. The default is set to 3000, increased from the built-in default of 1000. This value has precedent as it is also used by `jedi` which is used for `ipython`.
- Loading branch information
1 parent
603ff37
commit 226159f
Showing
2 changed files
with
13 additions
and
1 deletion.
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