Skip to content

Commit

Permalink
Increase recursion limit
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSchZA committed Aug 30, 2024
1 parent 866f41c commit 24dd7ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
# Set the platform's hard recursion limit to avoid recursion depth errors on Windows
# See https://stackoverflow.com/questions/2917210/what-is-the-hard-recursion-limit-for-linux-mac-and-windows
threading.stack_size(67108864) # 64MB stack, this limit is hit first in practice
# sys.setrecursionlimit(2**20) # Arbitrarily high limit, the stack limit is hit first
sys.setrecursionlimit(2**20) # Arbitrarily high limit, the stack limit is hit first

# Only new threads get the redefined stack size
# thread = threading.Thread()
# thread = threading.Thread(func=main)
# thread.start()


Expand Down

0 comments on commit 24dd7ef

Please sign in to comment.