diff options
author | Melanie | 2012-08-03 16:03:40 +0200 |
---|---|---|
committer | Melanie | 2012-08-03 16:03:40 +0200 |
commit | 83deb4603204c01fd6fc6b0a0e04afbeeae73771 (patch) | |
tree | f2d8867adf3e01b03ae64f16fa8389fa43b68001 | |
parent | Remove another superflouous IsActive set (diff) | |
download | opensim-SC-83deb4603204c01fd6fc6b0a0e04afbeeae73771.zip opensim-SC-83deb4603204c01fd6fc6b0a0e04afbeeae73771.tar.gz opensim-SC-83deb4603204c01fd6fc6b0a0e04afbeeae73771.tar.bz2 opensim-SC-83deb4603204c01fd6fc6b0a0e04afbeeae73771.tar.xz |
Make WaitGetScenePresence wait for up to 20 seconds
Diffstat (limited to '')
-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 c260fb2..3db7c7d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4255,7 +4255,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4255 | /// <param name='agentID'></param> | 4255 | /// <param name='agentID'></param> |
4256 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) | 4256 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) |
4257 | { | 4257 | { |
4258 | int ntimes = 10; | 4258 | int ntimes = 20; |
4259 | ScenePresence sp = null; | 4259 | ScenePresence sp = null; |
4260 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) | 4260 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) |
4261 | Thread.Sleep(1000); | 4261 | Thread.Sleep(1000); |