diff options
author | Tedd Hansen | 2008-02-01 22:18:55 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-01 22:18:55 +0000 |
commit | a6726b0c9de4ef875348f9dcbf21a9c93bde8a09 (patch) | |
tree | bcf0fbbe7306172e2933f59799813f84ed5a621f /bin | |
parent | Thank you, Kinoc for the ChatModule.cs updates. (diff) | |
download | opensim-SC_OLD-a6726b0c9de4ef875348f9dcbf21a9c93bde8a09.zip opensim-SC_OLD-a6726b0c9de4ef875348f9dcbf21a9c93bde8a09.tar.gz opensim-SC_OLD-a6726b0c9de4ef875348f9dcbf21a9c93bde8a09.tar.bz2 opensim-SC_OLD-a6726b0c9de4ef875348f9dcbf21a9c93bde8a09.tar.xz |
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
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
135 | ; true: Each region will get <NumberOfScriptThreads> dedicated to scripts within that region | 135 | ; true: Each region will get <NumberOfScriptThreads> dedicated to scripts within that region |
136 | ; Number of threads will be <NumberOfScriptThreads>*<NumberOfRegions> | 136 | ; Number of threads will be <NumberOfScriptThreads>*<NumberOfRegions> |
137 | ; false: All regions share <NumberOfScriptThreads> for all their scripts | 137 | ; false: All regions share <NumberOfScriptThreads> for all their scripts |
138 | ; Note! If you run multiple script engines based on "OpenSim.Region.ScriptEngine.Common" then all of them will share the same threads. | ||
138 | PrivateRegionThreads=false | 139 | PrivateRegionThreads=false |
139 | 140 | ||
140 | ; How long MAX should a script event be allowed to run (per event execution)? | 141 | ; How long MAX should a script event be allowed to run (per event execution)? |
@@ -163,3 +164,5 @@ SleepTimeIfNoScriptExecutionMs=50 | |||
163 | ; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead. | 164 | ; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead. |
164 | ScriptsPerAppDomain=1 | 165 | ScriptsPerAppDomain=1 |
165 | 166 | ||
167 | ; ReRead ScriptEngine config options how often? | ||
168 | ReReadConfig=0 | ||