Skip to content
Snippets Groups Projects
Commit 88c4e0a7 authored by rswindell's avatar rswindell
Browse files

Eliminated all JS ThreadStackLimit stuff - not needed anymore as mozjs 1.8.5

has its own functional "too much recursion" detection.
Replaced "branch callback" stuff with "operational callback".
JavaScriptBranchLimit has been replaced with JavaScriptTimeLimit
(default value: 24 hours)
parent 691761d8
No related branches found
No related tags found
No related merge requests found
......@@ -37,13 +37,11 @@
JavaScriptMaxBytes = 8M
; Maximum stack size per JS context:
JavaScriptContextStack = 16K
; Maximum stack size per JS stack:
JavaScriptThreadStack = 256K
; Maximum number of loops (branch callbacks) before auto-termination of script:
JavaScriptBranchLimit = 99999999
; Garbage Collection interval (in branch callbacks):
; Maximum number of ticks (100ms) before auto-termination of script:
JavaScriptTimeLimit = 864000
; Garbage Collection interval (in ticks):
JavaScriptGcInterval = 100
; Time-slice yield interval (in branch callbacks):
; Time-slice yield interval (in ticks):
JavaScriptYieldInterval = 10000
; Comma-separated list of load paths (relative to exec or mods directories):
JavaScriptLoadPath = load
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment