diff options
author | Melanie | 2009-09-21 14:59:31 +0100 |
---|---|---|
committer | Melanie | 2009-09-21 14:59:31 +0100 |
commit | 04170521f081bf009bf15f76451b119dc280a438 (patch) | |
tree | 8ddf52511caf4331abd8f183b98e590b582abe77 /OpenSim/Region | |
parent | A small fix for remote console to accommodate PollServiceArgs behavior a (diff) | |
download | opensim-SC-04170521f081bf009bf15f76451b119dc280a438.zip opensim-SC-04170521f081bf009bf15f76451b119dc280a438.tar.gz opensim-SC-04170521f081bf009bf15f76451b119dc280a438.tar.bz2 opensim-SC-04170521f081bf009bf15f76451b119dc280a438.tar.xz |
Add a UUID param to NoEvents in PollServiceEventArgs to make it more generic
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs index 34d46a0..26eed42 100644 --- a/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs | |||
@@ -350,7 +350,7 @@ namespace OpenSim.Region.CoreModules.Framework.EventQueue | |||
350 | lock (queue) | 350 | lock (queue) |
351 | { | 351 | { |
352 | if (queue.Count == 0) | 352 | if (queue.Count == 0) |
353 | return NoEvents(); | 353 | return NoEvents(pAgentId); |
354 | element = queue.Dequeue(); // 15s timeout | 354 | element = queue.Dequeue(); // 15s timeout |
355 | } | 355 | } |
356 | 356 | ||
@@ -398,7 +398,7 @@ namespace OpenSim.Region.CoreModules.Framework.EventQueue | |||
398 | //m_log.DebugFormat("[EVENTQUEUE]: sending response for {0} in region {1}: {2}", agentID, m_scene.RegionInfo.RegionName, responsedata["str_response_string"]); | 398 | //m_log.DebugFormat("[EVENTQUEUE]: sending response for {0} in region {1}: {2}", agentID, m_scene.RegionInfo.RegionName, responsedata["str_response_string"]); |
399 | } | 399 | } |
400 | 400 | ||
401 | public Hashtable NoEvents() | 401 | public Hashtable NoEvents(UUID agentID) |
402 | { | 402 | { |
403 | Hashtable responsedata = new Hashtable(); | 403 | Hashtable responsedata = new Hashtable(); |
404 | responsedata["int_response_code"] = 502; | 404 | responsedata["int_response_code"] = 502; |