diff options
author | Justin Clark-Casey (justincc) | 2014-05-19 23:01:48 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-05-19 23:01:48 +0100 |
commit | 5ec3429843ecb8058698f663556ae1d4cae53434 (patch) | |
tree | 2b93005dfb29e7b51d7b5cc7ef01b758b438936e /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | |
parent | Add DebugMessagingEnabled = false to OpenSim.ini.example for consistency. Sl... (diff) | |
download | opensim-SC_OLD-5ec3429843ecb8058698f663556ae1d4cae53434.zip opensim-SC_OLD-5ec3429843ecb8058698f663556ae1d4cae53434.tar.gz opensim-SC_OLD-5ec3429843ecb8058698f663556ae1d4cae53434.tar.bz2 opensim-SC_OLD-5ec3429843ecb8058698f663556ae1d4cae53434.tar.xz |
On verbose groups messaging logging, count all operations in reported time when sending group messages, not just those after get group members and get presence status, as applicable
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs index 09bbec2..e1b6abb 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | |||
@@ -274,6 +274,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
274 | public void SendMessageToGroup( | 274 | public void SendMessageToGroup( |
275 | GridInstantMessage im, UUID groupID, UUID sendingAgentForGroupCalls, Func<GroupMembersData, bool> sendCondition) | 275 | GridInstantMessage im, UUID groupID, UUID sendingAgentForGroupCalls, Func<GroupMembersData, bool> sendCondition) |
276 | { | 276 | { |
277 | int requestStartTick = Environment.TickCount; | ||
278 | |||
277 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers(sendingAgentForGroupCalls, groupID); | 279 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers(sendingAgentForGroupCalls, groupID); |
278 | int groupMembersCount = groupMembers.Count; | 280 | int groupMembersCount = groupMembers.Count; |
279 | HashSet<string> attemptDeliveryUuidSet = null; | 281 | HashSet<string> attemptDeliveryUuidSet = null; |
@@ -313,9 +315,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
313 | m_log.DebugFormat( | 315 | m_log.DebugFormat( |
314 | "[GROUPS-MESSAGING]: SendMessageToGroup called for group {0} with {1} visible members", | 316 | "[GROUPS-MESSAGING]: SendMessageToGroup called for group {0} with {1} visible members", |
315 | groupID, groupMembers.Count); | 317 | groupID, groupMembers.Count); |
316 | } | 318 | } |
317 | |||
318 | int requestStartTick = Environment.TickCount; | ||
319 | 319 | ||
320 | foreach (GroupMembersData member in groupMembers) | 320 | foreach (GroupMembersData member in groupMembers) |
321 | { | 321 | { |