diff options
author | Dr Scofield | 2009-02-11 14:35:07 +0000 |
---|---|---|
committer | Dr Scofield | 2009-02-11 14:35:07 +0000 |
commit | f70e580f861e4dc0c3f9224491478d22320cf5f2 (patch) | |
tree | b764a9abb2f42f93d855bad0eea258a61e36537a /bin/OpenSim.ini.example | |
parent | If an instance contains only one region, select it in the console by default (diff) | |
download | opensim-SC_OLD-f70e580f861e4dc0c3f9224491478d22320cf5f2.zip opensim-SC_OLD-f70e580f861e4dc0c3f9224491478d22320cf5f2.tar.gz opensim-SC_OLD-f70e580f861e4dc0c3f9224491478d22320cf5f2.tar.bz2 opensim-SC_OLD-f70e580f861e4dc0c3f9224491478d22320cf5f2.tar.xz |
From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:
[RegionReady]
enabled = true
channel_notify = -800
The module also knows if there was an error with startup.
Diffstat (limited to 'bin/OpenSim.ini.example')
-rw-r--r-- | bin/OpenSim.ini.example | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 459d3ed..3015392 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -1012,3 +1012,14 @@ InterregionComms = "RESTComms" | |||
1012 | 1012 | ||
1013 | ; Density of tree population | 1013 | ; Density of tree population |
1014 | tree_density = 1000.0 | 1014 | tree_density = 1000.0 |
1015 | |||
1016 | [RegionReady] | ||
1017 | ; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled | ||
1018 | enabled = false | ||
1019 | |||
1020 | ; Channel on which to signal region readiness through a message | ||
1021 | ; formatted as follows: "{0|1},n,[oar error]" | ||
1022 | ; - the first number indicating whether the OAR file loaded ok (1 == ok, 0 == error) | ||
1023 | ; - the second number indicates how many scrips failed to compile | ||
1024 | ; - "oar error" if supplied, provides the error message from the OAR load | ||
1025 | channel_notify = -800 | ||