mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Add experimental "debug attachments throttle <ms>" setting (command line) and ThrottlePer100PrimsRezzed in [Attachments] in config
This is an experimental setting to control cpu spikes when an attachment heavy avatar logs in or avatars with medium attachments lgoin simultaneously. It inserts a ms sleep specified in terms of attachments prims after each rez when an avatar logs in. Default is 0 (no throttling). "debug attachments <level>" changes to "debug attachments log <level>" which controls logging. A logging level of 1 will show the throttling performed if applicable. Also adds "debug attachments status" command to show current throttle and debug logging levels.
This commit is contained in:
@@ -703,11 +703,18 @@
|
||||
; on every login
|
||||
ReuseTextures = false
|
||||
|
||||
|
||||
[Attachments]
|
||||
; Controls whether avatar attachments are enabled.
|
||||
; Defaults to true - only set to false for debugging purposes
|
||||
Enabled = true
|
||||
|
||||
; Controls the number of milliseconds that are slept per 100 prims rezzed in attachments
|
||||
; Experimental setting to control CPU spiking when avatars with many attachments login
|
||||
; or when multiple avatars with medium level attachments login simultaneously.
|
||||
; If 0 then no throttling is performed.
|
||||
ThrottlePer100PrimsRezzed = 0;
|
||||
|
||||
|
||||
[Mesh]
|
||||
; enable / disable Collada mesh support
|
||||
|
||||
Reference in New Issue
Block a user