From 9d458fdd7fe98bded857baa65fb73f113e4f2919 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 18 Nov 2011 21:31:23 +0000 Subject: Turn the [RegionReady] module on by default and login_disable = true while scripts are loading. From field experience, we know that simulators can be unstable if a user logs in before the scripts have finished loading. This commit turns login_disable = true in [RegionReady] on by default which prevents this from happening. If you want the old behaviour, please copy these section from OpenSimDefaults.ini into OpenSim.ini and set login_disable = false --- bin/OpenSimDefaults.ini | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index e723330..5fe1352 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -332,6 +332,26 @@ DelayBeforeAppearanceSend = 2 +[RegionReady] + ; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled + enabled = true + + ; Channel on which to signal region readiness through a message + ; formatted as follows: "{server_startup|oar_file_load},{0|1},n,[oar error]" + ; - the first field indicating whether this is an initial server startup + ; - the second field is a number indicating whether the OAR file loaded ok (1 == ok, 0 == error) + ; - the third field is a number indicating how many scripts failed to compile + ; - "oar error" if supplied, provides the error message from the OAR load + channel_notify = -800 + + ; - disallow logins while scripts are loading + ; Instability can occur on regions with 100+ scripts if users enter before they have finished loading + login_disable = true + + ; - send an alert as json to a service + ; alert_uri = "http://myappserver.net/my_handler/" + + [SMTP] enabled = false @@ -489,6 +509,7 @@ ; ;DisableFacelights = "false" + [ClientStack.LindenCaps] ;; Long list of capabilities taken from ;; http://wiki.secondlife.com/wiki/Current_Sim_Capabilities @@ -1304,24 +1325,6 @@ broker = "http://broker.place.com/{1}" -[RegionReady] - ; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled - ; default is false - enabled = false - - ; Channel on which to signal region readiness through a message - ; formatted as follows: "{server_startup|oar_file_load},{0|1},n,[oar error]" - ; - the first field indicating whether this is an initial server startup - ; - the second field is a number indicating whether the OAR file loaded ok (1 == ok, 0 == error) - ; - the third field is a number indicating how many scripts failed to compile - ; - "oar error" if supplied, provides the error message from the OAR load - channel_notify = -800 - ; - disallow logins while scripts are loading - login_disable = false - ; - send an alert as json to a service - ; alert_uri = "http://myappserver.net/my_handler/" - - [MRM] ; Enables the Mini Region Modules Script Engine. ; default is false -- cgit v1.1