diff options
author | Melanie | 2009-10-27 20:28:12 +0000 |
---|---|---|
committer | Melanie | 2009-10-27 20:28:12 +0000 |
commit | 0d37883bfdb1c8e15187f63f170765c7909a6650 (patch) | |
tree | 25a5d722292d038d1ca314199b29efed54aed426 /bin | |
parent | Merge branch 'master' into vehicles (diff) | |
parent | Remove the rest of SECS. It was never used, except by an experimental version (diff) | |
download | opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.zip opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.gz opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.bz2 opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.xz |
Merge branch 'master' into vehicles
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 128 |
1 files changed, 1 insertions, 127 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 4f1799e..927eb7a 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -218,7 +218,6 @@ | |||
218 | ; ## SCRIPT ENGINE | 218 | ; ## SCRIPT ENGINE |
219 | ; ## | 219 | ; ## |
220 | 220 | ||
221 | ;DefaultScriptEngine = "ScriptEngine.DotNetEngine" | ||
222 | DefaultScriptEngine = "XEngine" | 221 | DefaultScriptEngine = "XEngine" |
223 | 222 | ||
224 | ; ## | 223 | ; ## |
@@ -826,137 +825,12 @@ | |||
826 | ; Density of tree population | 825 | ; Density of tree population |
827 | tree_density = 1000.0 | 826 | tree_density = 1000.0 |
828 | 827 | ||
828 | |||
829 | [VectorRender] | 829 | [VectorRender] |
830 | 830 | ||
831 | ; the font to use for rendering text (default: Arial) | 831 | ; the font to use for rendering text (default: Arial) |
832 | ; font_name = "Arial" | 832 | ; font_name = "Arial" |
833 | 833 | ||
834 | [ScriptEngine.DotNetEngine] | ||
835 | Enabled = true | ||
836 | |||
837 | ScriptDelayFactor = 1.0 | ||
838 | ScriptDistanceLimitFactor = 1.0 | ||
839 | |||
840 | ; Maximum length of notecard line read | ||
841 | ; Increasing this to large values potentially opens | ||
842 | ; up the system to malicious scripters | ||
843 | ; NotecardLineReadCharsMax = 255 | ||
844 | |||
845 | ; | ||
846 | ; These settings are specific to DotNetEngine script engine | ||
847 | ; Other script engines based on OpenSim.Region.ScriptEngine.Common.dll will have almost identical settings, but in another section of this config file. | ||
848 | ; | ||
849 | |||
850 | ; When a script receives an event the event is queued. | ||
851 | ; Any free thread will start executing this event. One script can only have one event executed simultaneously. | ||
852 | ; If you have only one thread, and one script has a loop or does a lot of work, then no other scripts can run at the same time. | ||
853 | ; Same if you have 10 threads, then only 10 scripts can be run simultaneously. | ||
854 | ; But because most scripts exit after their task, the threads are free to go on to the next script. | ||
855 | |||
856 | ; Refresh ScriptEngine config options (these settings) every xx seconds | ||
857 | ; 0 = Do not refresh | ||
858 | ; Set it to number of seconds between refresh, for example 30. | ||
859 | ; Will allow you to change ScriptEngine settings while server is running just by using "CONFIG SET" on console | ||
860 | ; For example to increase or decrease number of threads: CONFIG SET NumberOfScriptThreads 10 | ||
861 | ; NOTE! Disabled for now. Feature does not work. | ||
862 | RefreshConfig=0 | ||
863 | |||
864 | ; Number of threads to use for script event execution | ||
865 | ; Threads are shared across all regions | ||
866 | NumberOfScriptThreads=2 | ||
867 | |||
868 | ; Script event execution thread priority inside application. | ||
869 | ; Valid values: Lowest, BelowNormal, Normal, AboveNormal, Highest | ||
870 | ScriptThreadPriority=BelowNormal | ||
871 | |||
872 | ; How long MAX should a script event be allowed to run (per event execution)? | ||
873 | ; Do not set this too low (like 50ms) as there are some time wasted in simply executing a function | ||
874 | ; There is also a small speed penalty for every kill that is made | ||
875 | MaxEventExecutionTimeMs=5000 | ||
876 | |||
877 | ; Should we enable the max script event execution thread to look for scripts that exceed their timeslice? | ||
878 | EnforceMaxEventExecutionTime=true | ||
879 | |||
880 | ; Should we stop the script completely when time exceeds? | ||
881 | ; This is useful if you have a high <MaxEventExecutionTimeMs> and want to deactivate scripts that go wrong | ||
882 | ; Note that for example physics engine can slow down the system and make scripts spend more time | ||
883 | DeactivateScriptOnTimeout=false | ||
884 | |||
885 | ; If no scripts have executed in this pass how long should we sleep before checking again | ||
886 | ; Impact: | ||
887 | ; Too low and you will waste lots of CPU | ||
888 | ; Too high and people touching object or similar will have to wait up to this amount of time before script responding | ||
889 | SleepTimeIfNoScriptExecutionMs=50 | ||
890 | |||
891 | ; AppDomains are used for two things: | ||
892 | ; * Security: Scripts inside AppDomains are limited in permissions. | ||
893 | ; * Script unloading: When a script is deactivated it can not be unloaded. Only whole AppDomains can be unloaded. | ||
894 | ; AppDomains are therefore only unloaded once ALL active scripts inside it has been deactivated (removed from prims). | ||
895 | ; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead. | ||
896 | ScriptsPerAppDomain=1 | ||
897 | |||
898 | ; MaintenanceLoop | ||
899 | ; How often to run maintenance loop | ||
900 | ; Maintenance loop is doing: script compile/load, script unload, reload config, adjust running config and enforce max execution time | ||
901 | MaintenanceLoopms=50 | ||
902 | |||
903 | ; How many maintenanceloops between each of these. | ||
904 | ; (if 2 then function will be executed every MaintenanceLoopms*2 ms) | ||
905 | ; Script loading/unloading | ||
906 | |||
907 | ; How long load/unload thread should sleep if there is nothing to do | ||
908 | ; Higher value makes it respond slower when scripts are added/removed from prims | ||
909 | ; But once active it will process all in queue before sleeping again | ||
910 | MaintenanceLoopTicks_ScriptLoadUnload=1 | ||
911 | |||
912 | ; Other tasks | ||
913 | ; check if we need to reload config, adjust running config and enforce max execution time | ||
914 | MaintenanceLoopTicks_Other=10 | ||
915 | |||
916 | ; Allow the use of os* functions (some are dangerous) | ||
917 | ; Default is false | ||
918 | AllowOSFunctions = false | ||
919 | |||
920 | ; Threat level to allow if os functions are enabled | ||
921 | ; One of None, VeryLow, Low, Moderate, High, VeryHigh, Severe | ||
922 | ; Default is VeryLow | ||
923 | OSFunctionThreatLevel = VeryLow | ||
924 | |||
925 | ; Maximum number of items in load/unload queue before we start rejecting loads | ||
926 | ; Note that we will only be rejecting load. Unloads will still be able to queue. | ||
927 | LoadUnloadMaxQueueSize=100 | ||
928 | |||
929 | ; Maximum number of (LSL) events that can be queued before new events are ignored. | ||
930 | EventExecutionMaxQueueSize=300 | ||
931 | |||
932 | ; Async LL command sleep | ||
933 | ; If no async LL commands are waiting, how long should thread sleep before checking again | ||
934 | ; Async LL commands are LSL-commands that causes an event to be fired back with result | ||
935 | ; currently unused | ||
936 | ; AsyncLLCommandLoopms=50 | ||
937 | |||
938 | ; When script is converted from LSL to C#, or just plain compiled, a copy of the script source will be put in the ScriptEngine folder | ||
939 | WriteScriptSourceToDebugFile=false | ||
940 | |||
941 | ; Specify default script compiler | ||
942 | ; If you do not specify //cs, //vb, //js or //lsl tag as the first characters of your script then the default compiler will be chosen | ||
943 | ; Valid languages are: lsl, cs, js and vb | ||
944 | DefaultCompileLanguage=lsl | ||
945 | |||
946 | ; Specify what compilers are allowed to be used | ||
947 | ; Note vb only works on Windows for now (Mono lacks VB compile support) | ||
948 | ; Valid languages are: lsl, cs, js and vb | ||
949 | ; AllowedCompilers=lsl,cs,js,vb. *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk. | ||
950 | AllowedCompilers=lsl | ||
951 | |||
952 | ; Compile scripts with debugging | ||
953 | ; Probably a thousand times slower, but gives you a line number when something goes wrong. | ||
954 | CompileWithDebugInformation=true | ||
955 | |||
956 | ; Remove old scripts on next startup | ||
957 | ; currently unused | ||
958 | ;CleanUpOldScriptsOnStartup=true | ||
959 | |||
960 | 834 | ||
961 | [LL-Functions] | 835 | [LL-Functions] |
962 | ; Set the following to true to allow administrator owned scripts to execute console commands | 836 | ; Set the following to true to allow administrator owned scripts to execute console commands |