From a6726b0c9de4ef875348f9dcbf21a9c93bde8a09 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Fri, 1 Feb 2008 22:18:55 +0000 Subject: SCRIPT SUPPORT IS STILL BROKEN. Bugfix: Scripts exceeding max and set to be killed were not killed, only removed. Added ability to re-read configuration while OpenSim is running All regions now sharing one MaintenanceThread New MaintenanceThread: - checks for script execution timeout - re-reads config - starts/stops threads if thread active count becomes too high/low compared to config Speed increase on event execution: - Reuse of try{}catch{} blocks - Time calculation on event execution --- bin/OpenSim.ini.example | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/OpenSim.ini.example') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 0e3349e..9d664bf 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -135,6 +135,7 @@ ScriptThreadPriority=BelowNormal ; true: Each region will get dedicated to scripts within that region ; Number of threads will be * ; false: All regions share for all their scripts +; Note! If you run multiple script engines based on "OpenSim.Region.ScriptEngine.Common" then all of them will share the same threads. PrivateRegionThreads=false ; How long MAX should a script event be allowed to run (per event execution)? @@ -163,3 +164,5 @@ SleepTimeIfNoScriptExecutionMs=50 ; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead. ScriptsPerAppDomain=1 +; ReRead ScriptEngine config options how often? +ReReadConfig=0 -- cgit v1.1