mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
YEngine, change default number of exec threads to 2 of priority Normal. Let the threads priority a option on ini files
This commit is contained in:
@@ -1750,6 +1750,33 @@
|
||||
; MeshModelAllowTextureToInventory = true
|
||||
|
||||
|
||||
[YEngine]
|
||||
;; implements non preemptive microthreading, so fixing problems like llSleep or long events handlers
|
||||
;; but those will suffer from timeslicing, so will be slower.
|
||||
;; warning: scripts state is lost on TP or cross to Xengine regions (cars stop, etc)
|
||||
;; ignore its extensions (subset of original XMRengine), those are still undefined.
|
||||
;Enabled = false
|
||||
|
||||
; maximum stack a script can use in KB
|
||||
;ScriptStackSize = 2048
|
||||
|
||||
; maximum heap memory a script can use in KB
|
||||
;ScriptHeapSize = 1024
|
||||
|
||||
; number of threads to execute script. Too many threads can have negative impact on other region operations
|
||||
;NumThreadScriptWorkers = 2
|
||||
|
||||
; Priority of those threads (Lowest, BelowNormal, Normal, AboveNormal or Highest). Higher priorit can have negative impact on other region operations
|
||||
;Priority = Normal
|
||||
|
||||
; to reuse binary compare sources using a hash codes of them or full text
|
||||
UseSourceHashCode = true
|
||||
|
||||
MinTimerInterval = 0.1
|
||||
|
||||
; scripts states and cache parent folder location
|
||||
;ScriptBasePath="ScriptEngines"
|
||||
|
||||
|
||||
[XEngine]
|
||||
; Enable this engine in this OpenSim instance
|
||||
|
||||
Reference in New Issue
Block a user