Move event count from per connection to per event
parent
ecee306d3c
commit
fa7a8fb9c1
|
@ -1126,6 +1126,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
||||||
|
|
||||||
foreach (SyncConnector connector in syncConnectors)
|
foreach (SyncConnector connector in syncConnectors)
|
||||||
{
|
{
|
||||||
|
lock (m_stats) m_statEventOut++;
|
||||||
connector.Send(rsm);
|
connector.Send(rsm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2778,7 +2779,6 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
||||||
SymmetricSyncMessage rsm = new SymmetricSyncMessage(msgType, OSDParser.SerializeJsonString(data));
|
SymmetricSyncMessage rsm = new SymmetricSyncMessage(msgType, OSDParser.SerializeJsonString(data));
|
||||||
|
|
||||||
//send to actors who are interested in the event
|
//send to actors who are interested in the event
|
||||||
lock (m_stats) m_statEventOut++;
|
|
||||||
SendSceneEventToRelevantSyncConnectors(m_actorID, rsm, null);
|
SendSceneEventToRelevantSyncConnectors(m_actorID, rsm, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue