aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-12-11 23:36:42 +0000
committerUbitUmarov2017-12-11 23:36:42 +0000
commita95e28616842f70bb64bf701c2534d75490e539e (patch)
treedade7134eca49d1861f2201cba1e19231fbff535 /OpenSim
parentmove some sharable items out of Xmute to Framework; add another test mutelist... (diff)
downloadopensim-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')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs4
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(