diff options
author | UbitUmarov | 2015-11-27 13:45:14 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-27 13:45:14 +0000 |
commit | c5395cef7416d65e6459197973390adc826d7c36 (patch) | |
tree | 5ac312a462fb585300e60291aaa6b5554f0befd3 /OpenSim/Region/Framework | |
parent | revert last change to watchdog timeouts, that should not be needed (diff) | |
download | opensim-SC-c5395cef7416d65e6459197973390adc826d7c36.zip opensim-SC-c5395cef7416d65e6459197973390adc826d7c36.tar.gz opensim-SC-c5395cef7416d65e6459197973390adc826d7c36.tar.bz2 opensim-SC-c5395cef7416d65e6459197973390adc826d7c36.tar.xz |
remove thread Heartbeat from watchdog
Diffstat (limited to 'OpenSim/Region/Framework')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 2296981..7d98c94 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -531,11 +531,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
531 | // private int m_lastUpdate; | 531 | // private int m_lastUpdate; |
532 | private bool m_firstHeartbeat = true; | 532 | private bool m_firstHeartbeat = true; |
533 | 533 | ||
534 | private UpdatePrioritizationSchemes m_priorityScheme = UpdatePrioritizationSchemes.Time; | 534 | // private UpdatePrioritizationSchemes m_priorityScheme = UpdatePrioritizationSchemes.Time; |
535 | private bool m_reprioritizationEnabled = true; | 535 | // private bool m_reprioritizationEnabled = true; |
536 | private double m_reprioritizationInterval = 5000.0; | 536 | // private double m_reprioritizationInterval = 5000.0; |
537 | private double m_rootReprioritizationDistance = 10.0; | 537 | // private double m_rootReprioritizationDistance = 10.0; |
538 | private double m_childReprioritizationDistance = 20.0; | 538 | // private double m_childReprioritizationDistance = 20.0; |
539 | 539 | ||
540 | 540 | ||
541 | private Timer m_mapGenerationTimer = new Timer(); | 541 | private Timer m_mapGenerationTimer = new Timer(); |
@@ -1628,6 +1628,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1628 | Watchdog.GetCurrentThreadInfo().AlarmIfTimeout = true; | 1628 | Watchdog.GetCurrentThreadInfo().AlarmIfTimeout = true; |
1629 | m_lastFrameTick = Util.EnvironmentTickCount(); | 1629 | m_lastFrameTick = Util.EnvironmentTickCount(); |
1630 | Update(-1); | 1630 | Update(-1); |
1631 | |||
1632 | Watchdog.RemoveThread(); | ||
1631 | } | 1633 | } |
1632 | 1634 | ||
1633 | private void Maintenance() | 1635 | private void Maintenance() |