Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
config:javascript [2021/03/06 16:35] – created digital manconfig:javascript [2022/03/14 19:44] (current) – [See Also] Andre
Line 16: Line 16:
 |''JavaScriptYieldInterval'' | 10000     | Time-slice yield interval (in "operation callbacks", 0=disabled) | |''JavaScriptYieldInterval'' | 10000     | Time-slice yield interval (in "operation callbacks", 0=disabled) |
 |''JavaScriptLoadPath''     | ''load''   | Directories (comma-separated) to search for JS load-libraries | |''JavaScriptLoadPath''     | ''load''   | Directories (comma-separated) to search for JS load-libraries |
-|''JavaScriptOptions''      | 0xC810     | See [[#Options]] below |+|''JavaScriptOptions''      | ''JIT | COMPILE_N_GO'' | See [[#Options]] below | 
 + 
 +===== Notes ===== 
 + 
 +=== JavaScriptTimeLimit === 
 +Default: ''864000'' (24 hours) 
 + 
 +Maximum number of ticks (100ms) before auto-termination of a JavaScript script (i.e. //infinite loop detection//). 
 + 
 +Set to ''0'' for unlimited time (disables //infinite loop detection//). 
 + 
 +Note: This key replaces the old ''JavaScriptBranchLimit'' key which is no longer used (as of Synchronet v3.16). 
 + 
 +=== JavaScriptGcInterval === 
 +Default: ''100'' 
 + 
 +JavaScript Garbage Collection interval (in ticks).  
 + 
 +Set to ''0'' for never. 
 + 
 +=== JavaScriptYieldInterval === 
 + 
 +Default: ''10000'' 
 + 
 +Time-slice yield interval (in ticks).  
 + 
 +Set to ''0'' for never. 
 + 
 +=== JavaScriptLoadPath === 
 +Default: ''load'' 
 + 
 +Comma-separated list of load paths (relative to ''[[dir:exec]]'' or ''[[dir:mods]]'' directories). 
 + 
 +These are the directories/sub-directories where the JavaScript ''load()'' method will search for filenames to be loaded by other scripts. 
  
 ===== Options ===== ===== Options =====
Line 34: Line 68:
  
 The default JavaScript option flags (when the key is not specified) are: The default JavaScript option flags (when the key is not specified) are:
-  JIT | METHODJIT | COMPILE_N_GO | PROFILING+  JIT | COMPILE_N_GO
  
 ===== See Also ===== ===== See Also =====
   * [[:config:|config index]]   * [[:config:|config index]]
  
-{{tag>javascript}}+ 
 +{{tag>configuration javascript general_config ini}}