mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Make WaitGetScenePresence wait for up to 20 seconds
This commit is contained in:
@@ -4255,7 +4255,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <param name='agentID'></param>
|
||||
protected virtual ScenePresence WaitGetScenePresence(UUID agentID)
|
||||
{
|
||||
int ntimes = 10;
|
||||
int ntimes = 20;
|
||||
ScenePresence sp = null;
|
||||
while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0))
|
||||
Thread.Sleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user