diff options
author | John Hurliman | 2009-10-16 11:09:18 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-16 11:09:18 -0700 |
commit | 5a4fda9dc3aca873bcf034877eed1f9c5914493f (patch) | |
tree | 1747f4c7f9d2fc94b146cb728ffd01bef0ac9774 | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into priorit... (diff) | |
download | opensim-SC_OLD-5a4fda9dc3aca873bcf034877eed1f9c5914493f.zip opensim-SC_OLD-5a4fda9dc3aca873bcf034877eed1f9c5914493f.tar.gz opensim-SC_OLD-5a4fda9dc3aca873bcf034877eed1f9c5914493f.tar.bz2 opensim-SC_OLD-5a4fda9dc3aca873bcf034877eed1f9c5914493f.tar.xz |
Updating OpenSim.ini.example with the section required to enable a useful prioritization scheme
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 | ||||
-rw-r--r-- | bin/OpenSim.ini.example | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index c7efc19..0d8c241 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -542,6 +542,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
542 | break; | 542 | break; |
543 | } | 543 | } |
544 | } | 544 | } |
545 | |||
546 | m_log.Info("[SCENE]: Using the " + m_update_prioritization_scheme + " prioritization scheme"); | ||
545 | } | 547 | } |
546 | catch | 548 | catch |
547 | { | 549 | { |
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 002745d..ba797e6 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -1385,6 +1385,14 @@ | |||
1385 | ; | 1385 | ; |
1386 | ;TextureDataLimit = 5 | 1386 | ;TextureDataLimit = 5 |
1387 | 1387 | ||
1388 | [InterestManagement] | ||
1389 | ; This section controls how state updates are prioritized for each client | ||
1390 | UpdatePrioritizationScheme = Distance | ||
1391 | ReprioritizeUpdate = true | ||
1392 | RootUpdateReprioritizationDistance = 10.0 | ||
1393 | ChildUpdateReprioritizationDistance = 20.0 | ||
1394 | ReprioritizeUpdatesInterval = 5000.0 | ||
1395 | |||
1388 | ;; | 1396 | ;; |
1389 | ;; These are defaults that are overwritten below in [Architecture]. | 1397 | ;; These are defaults that are overwritten below in [Architecture]. |
1390 | ;; These defaults allow OpenSim to work out of the box with | 1398 | ;; These defaults allow OpenSim to work out of the box with |