diff options
author | Melanie | 2012-09-14 00:12:41 +0200 |
---|---|---|
committer | Melanie | 2012-09-14 00:12:41 +0200 |
commit | e1e9855edec647efd721b0ff34956f9a7f68942f (patch) | |
tree | 0c7bdd85acf0ba71a177571efe2b4b56637baaff /OpenSim | |
parent | Allow setting max connections for an endpoint (diff) | |
download | opensim-SC-e1e9855edec647efd721b0ff34956f9a7f68942f.zip opensim-SC-e1e9855edec647efd721b0ff34956f9a7f68942f.tar.gz opensim-SC-e1e9855edec647efd721b0ff34956f9a7f68942f.tar.bz2 opensim-SC-e1e9855edec647efd721b0ff34956f9a7f68942f.tar.xz |
Wait a bit longer for new scene presences to aid tps into laggy regions
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 0dae946..9b9ad80 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4274,7 +4274,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4274 | /// <param name='agentID'></param> | 4274 | /// <param name='agentID'></param> |
4275 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) | 4275 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) |
4276 | { | 4276 | { |
4277 | int ntimes = 20; | 4277 | int ntimes = 30; |
4278 | ScenePresence sp = null; | 4278 | ScenePresence sp = null; |
4279 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) | 4279 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) |
4280 | Thread.Sleep(1000); | 4280 | Thread.Sleep(1000); |