mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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
This commit is contained in:
@@ -135,6 +135,7 @@ ScriptThreadPriority=BelowNormal
|
||||
; true: Each region will get <NumberOfScriptThreads> dedicated to scripts within that region
|
||||
; Number of threads will be <NumberOfScriptThreads>*<NumberOfRegions>
|
||||
; false: All regions share <NumberOfScriptThreads> 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
|
||||
|
||||
Reference in New Issue
Block a user