mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Amend to last commit: synchronize access to queues.
This commit is contained in:
@@ -215,8 +215,11 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||
}
|
||||
// we get here iff success == false
|
||||
// blacklist sim for 2 minutes
|
||||
_failedSims.AddOrUpdate(destination.ServerURI, true, 120);
|
||||
m_updateAgentQueue.Clear();
|
||||
lock (m_updateAgentQueue)
|
||||
{
|
||||
_failedSims.AddOrUpdate(destination.ServerURI, true, 120);
|
||||
m_updateAgentQueue.Remove(uri);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user