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
; The following keys are supported in the global/unnamed section as well as
......@@ -7,8 +5,7 @@
; base filenames (excluding path and file extension, e.g ".js"). Any values
; 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):
; This log level may be overridden for each server/service
; Highest log level to actually log/print (suppress all less-severe log msgs):
; Supported log levels in decreasing severity (ala syslog):
; Emergency, Alert, Critical, Error, Warning, Notice, Informational, Debugging
LogLevel = Informational
......@@ -20,13 +17,9 @@ PauseOnExit = false
PauseOnError = false
; Enable the JS debugger
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:
JavaScriptMaxBytes = 8M
; Maximum stack size per JS context:
JavaScriptContextStack = 16K
JavaScriptMaxBytes = 16M
; Maximum number of ticks (100ms) before auto-termination of script:
JavaScriptTimeLimit = 864000
; Garbage Collection interval (in ticks):
......
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