Wait a bit longer for new scene presences to aid tps into laggy regions
parent
52d74cf274
commit
e1e9855ede
|
@ -4274,7 +4274,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// <param name='agentID'></param>
|
/// <param name='agentID'></param>
|
||||||
protected virtual ScenePresence WaitGetScenePresence(UUID agentID)
|
protected virtual ScenePresence WaitGetScenePresence(UUID agentID)
|
||||||
{
|
{
|
||||||
int ntimes = 20;
|
int ntimes = 30;
|
||||||
ScenePresence sp = null;
|
ScenePresence sp = null;
|
||||||
while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0))
|
while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0))
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(1000);
|
||||||
|
|
Loading…
Reference in New Issue