diff options
author | UbitUmarov | 2017-12-11 23:36:42 +0000 |
---|---|---|
committer | UbitUmarov | 2017-12-11 23:36:42 +0000 |
commit | a95e28616842f70bb64bf701c2534d75490e539e (patch) | |
tree | dade7134eca49d1861f2201cba1e19231fbff535 /OpenSim/Region/Framework/Scenes | |
parent | move some sharable items out of Xmute to Framework; add another test mutelist... (diff) | |
download | opensim-SC_OLD-a95e28616842f70bb64bf701c2534d75490e539e.zip opensim-SC_OLD-a95e28616842f70bb64bf701c2534d75490e539e.tar.gz opensim-SC_OLD-a95e28616842f70bb64bf701c2534d75490e539e.tar.bz2 opensim-SC_OLD-a95e28616842f70bb64bf701c2534d75490e539e.tar.xz |
increase sample rate of WaitGetScenePresence()
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index c06b3dd..c223aae 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4632,10 +4632,10 @@ Label_GroupsDone: | |||
4632 | /// <param name='agentID'></param> | 4632 | /// <param name='agentID'></param> |
4633 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) | 4633 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) |
4634 | { | 4634 | { |
4635 | int ntimes = 30; | 4635 | int ntimes = 120; // 30s |
4636 | ScenePresence sp = null; | 4636 | ScenePresence sp = null; |
4637 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) | 4637 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) |
4638 | Thread.Sleep(1000); | 4638 | Thread.Sleep(250); |
4639 | 4639 | ||
4640 | if (sp == null) | 4640 | if (sp == null) |
4641 | m_log.WarnFormat( | 4641 | m_log.WarnFormat( |