Increase wait for source region to sent UpdateAgent to 10 seconds instead of 4.
This is giving much better results on teleports between simulators over my lan where for some reason there is a pause before the receiving simulator processes UpdateAgent() At this point, v2 teleports between neighbour and non-neighbour regions on a single simulator and between v2 simulators and between a v1 and v2 simulator are working okay for me in different scenarios (e.g. simple teleport, teleport back to original quickly and re-teleport, teleport back to neighbour and re-teleport. etc.)0.7.6-extended
parent
aec7019728
commit
bfdcdbb2f3
|
@ -1355,7 +1355,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
private bool WaitForUpdateAgent(IClientAPI client)
|
private bool WaitForUpdateAgent(IClientAPI client)
|
||||||
{
|
{
|
||||||
// Before UpdateAgent, m_originRegionID is UUID.Zero; after, it's non-Zero
|
// Before UpdateAgent, m_originRegionID is UUID.Zero; after, it's non-Zero
|
||||||
int count = 20;
|
int count = 50;
|
||||||
while (m_originRegionID.Equals(UUID.Zero) && count-- > 0)
|
while (m_originRegionID.Equals(UUID.Zero) && count-- > 0)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[SCENE PRESENCE]: Agent {0} waiting for update in {1}", client.Name, Scene.Name);
|
m_log.DebugFormat("[SCENE PRESENCE]: Agent {0} waiting for update in {1}", client.Name, Scene.Name);
|
||||||
|
|
Loading…
Reference in New Issue