diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index c45e312..65f01b3 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -215,8 +215,11 @@ namespace OpenSim.Services.Connectors.Simulation | |||
215 | } | 215 | } |
216 | // we get here iff success == false | 216 | // we get here iff success == false |
217 | // blacklist sim for 2 minutes | 217 | // blacklist sim for 2 minutes |
218 | _failedSims.AddOrUpdate(destination.ServerURI, true, 120); | 218 | lock (m_updateAgentQueue) |
219 | m_updateAgentQueue.Clear(); | 219 | { |
220 | _failedSims.AddOrUpdate(destination.ServerURI, true, 120); | ||
221 | m_updateAgentQueue.Remove(uri); | ||
222 | } | ||
220 | return false; | 223 | return false; |
221 | } | 224 | } |
222 | 225 | ||