Skip to content
Snippets Groups Projects
Commit bc424632 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Increase default JS heap size from 8M to 16M (ala sbbs.ini)

Also remove "JavaScriptContextStack" (no longer used) and other
wrong or obsolete comments.
parent 66092646
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
; $Id: jsexec.ini,v 1.1 2020/05/04 22:05:16 rswindell Exp $
; Configuration file for Synchronet JSexec ; Configuration file for Synchronet JSexec
; The following keys are supported in the global/unnamed section as well as ; The following keys are supported in the global/unnamed section as well as
...@@ -7,8 +5,7 @@ ...@@ -7,8 +5,7 @@
; base filenames (excluding path and file extension, e.g ".js"). Any values ; base filenames (excluding path and file extension, e.g ".js"). Any values
; specified here may be over-ridden with jsexec command-line options. ; specified here may be over-ridden with jsexec command-line options.
; Highest log level to actually log/print (ignore all higher/less-severe log msgs): ; Highest log level to actually log/print (suppress all less-severe log msgs):
; This log level may be overridden for each server/service
; Supported log levels in decreasing severity (ala syslog): ; Supported log levels in decreasing severity (ala syslog):
; Emergency, Alert, Critical, Error, Warning, Notice, Informational, Debugging ; Emergency, Alert, Critical, Error, Warning, Notice, Informational, Debugging
LogLevel = Informational LogLevel = Informational
...@@ -21,12 +18,8 @@ PauseOnError = false ...@@ -21,12 +18,8 @@ PauseOnError = false
; Enable the JS debugger ; Enable the JS debugger
Debugger = false Debugger = false
; JavaScript values can be specified here *and* in server-specific sections
; JavaScript values specified in server-specific sections will over-ride the global values
; Maximum allocation of memory per JS run-time: ; Maximum allocation of memory per JS run-time:
JavaScriptMaxBytes = 8M JavaScriptMaxBytes = 16M
; Maximum stack size per JS context:
JavaScriptContextStack = 16K
; Maximum number of ticks (100ms) before auto-termination of script: ; Maximum number of ticks (100ms) before auto-termination of script:
JavaScriptTimeLimit = 864000 JavaScriptTimeLimit = 864000
; Garbage Collection interval (in ticks): ; Garbage Collection interval (in ticks):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment