diff options
author | Justin Clark-Casey (justincc) | 2011-11-18 21:31:23 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-18 21:31:23 +0000 |
commit | 9d458fdd7fe98bded857baa65fb73f113e4f2919 (patch) | |
tree | cb5bcde5468a5494e034f70d4ed04ab010e208d0 /bin | |
parent | Turn SellEnabled in the [EconomyModule] on by default. (diff) | |
download | opensim-SC_OLD-9d458fdd7fe98bded857baa65fb73f113e4f2919.zip opensim-SC_OLD-9d458fdd7fe98bded857baa65fb73f113e4f2919.tar.gz opensim-SC_OLD-9d458fdd7fe98bded857baa65fb73f113e4f2919.tar.bz2 opensim-SC_OLD-9d458fdd7fe98bded857baa65fb73f113e4f2919.tar.xz |
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
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSimDefaults.ini | 39 |
1 files 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 @@ | |||
332 | DelayBeforeAppearanceSend = 2 | 332 | DelayBeforeAppearanceSend = 2 |
333 | 333 | ||
334 | 334 | ||
335 | [RegionReady] | ||
336 | ; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled | ||
337 | enabled = true | ||
338 | |||
339 | ; Channel on which to signal region readiness through a message | ||
340 | ; formatted as follows: "{server_startup|oar_file_load},{0|1},n,[oar error]" | ||
341 | ; - the first field indicating whether this is an initial server startup | ||
342 | ; - the second field is a number indicating whether the OAR file loaded ok (1 == ok, 0 == error) | ||
343 | ; - the third field is a number indicating how many scripts failed to compile | ||
344 | ; - "oar error" if supplied, provides the error message from the OAR load | ||
345 | channel_notify = -800 | ||
346 | |||
347 | ; - disallow logins while scripts are loading | ||
348 | ; Instability can occur on regions with 100+ scripts if users enter before they have finished loading | ||
349 | login_disable = true | ||
350 | |||
351 | ; - send an alert as json to a service | ||
352 | ; alert_uri = "http://myappserver.net/my_handler/" | ||
353 | |||
354 | |||
335 | [SMTP] | 355 | [SMTP] |
336 | enabled = false | 356 | enabled = false |
337 | 357 | ||
@@ -489,6 +509,7 @@ | |||
489 | ; | 509 | ; |
490 | ;DisableFacelights = "false" | 510 | ;DisableFacelights = "false" |
491 | 511 | ||
512 | |||
492 | [ClientStack.LindenCaps] | 513 | [ClientStack.LindenCaps] |
493 | ;; Long list of capabilities taken from | 514 | ;; Long list of capabilities taken from |
494 | ;; http://wiki.secondlife.com/wiki/Current_Sim_Capabilities | 515 | ;; http://wiki.secondlife.com/wiki/Current_Sim_Capabilities |
@@ -1304,24 +1325,6 @@ | |||
1304 | broker = "http://broker.place.com/{1}" | 1325 | broker = "http://broker.place.com/{1}" |
1305 | 1326 | ||
1306 | 1327 | ||
1307 | [RegionReady] | ||
1308 | ; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled | ||
1309 | ; default is false | ||
1310 | enabled = false | ||
1311 | |||
1312 | ; Channel on which to signal region readiness through a message | ||
1313 | ; formatted as follows: "{server_startup|oar_file_load},{0|1},n,[oar error]" | ||
1314 | ; - the first field indicating whether this is an initial server startup | ||
1315 | ; - the second field is a number indicating whether the OAR file loaded ok (1 == ok, 0 == error) | ||
1316 | ; - the third field is a number indicating how many scripts failed to compile | ||
1317 | ; - "oar error" if supplied, provides the error message from the OAR load | ||
1318 | channel_notify = -800 | ||
1319 | ; - disallow logins while scripts are loading | ||
1320 | login_disable = false | ||
1321 | ; - send an alert as json to a service | ||
1322 | ; alert_uri = "http://myappserver.net/my_handler/" | ||
1323 | |||
1324 | |||
1325 | [MRM] | 1328 | [MRM] |
1326 | ; Enables the Mini Region Modules Script Engine. | 1329 | ; Enables the Mini Region Modules Script Engine. |
1327 | ; default is false | 1330 | ; default is false |