Skip to content

Commit

Permalink
Increase asyncify stack size
Browse files Browse the repository at this point in the history
I'll do some testing to find a reasonable value.
  • Loading branch information
microbit-matt-hillsdon committed Sep 21, 2023
1 parent 5e619dd commit 94c0530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ COPT += -O3 -DNDEBUG
endif

JSFLAGS += -s ASYNCIFY
# This stack limit can be triggered by nesting in user Python code
JSFLAGS += -s ASYNCIFY_STACK_SIZE=65536
JSFLAGS += -s EXIT_RUNTIME
JSFLAGS += -s MODULARIZE=1
JSFLAGS += -s EXPORT_NAME=createModule
Expand Down

0 comments on commit 94c0530

Please sign in to comment.