Amend to last commit: synchronize access to queues.
parent
512910a51f
commit
3259b1d1e0
|
@ -215,8 +215,11 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||||
}
|
}
|
||||||
// we get here iff success == false
|
// we get here iff success == false
|
||||||
// blacklist sim for 2 minutes
|
// blacklist sim for 2 minutes
|
||||||
_failedSims.AddOrUpdate(destination.ServerURI, true, 120);
|
lock (m_updateAgentQueue)
|
||||||
m_updateAgentQueue.Clear();
|
{
|
||||||
|
_failedSims.AddOrUpdate(destination.ServerURI, true, 120);
|
||||||
|
m_updateAgentQueue.Remove(uri);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue