Move event count from per connection to per event

dsg
Robert Adams 2011-03-31 10:22:46 -07:00
parent ecee306d3c
commit fa7a8fb9c1
1 changed files with 1 additions and 1 deletions

View File

@ -1126,6 +1126,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
foreach (SyncConnector connector in syncConnectors)
{
lock (m_stats) m_statEventOut++;
connector.Send(rsm);
}
}
@ -2778,7 +2779,6 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
SymmetricSyncMessage rsm = new SymmetricSyncMessage(msgType, OSDParser.SerializeJsonString(data));
//send to actors who are interested in the event
lock (m_stats) m_statEventOut++;
SendSceneEventToRelevantSyncConnectors(m_actorID, rsm, null);
}