Handle Map block requests on a separate thread rather than the main packet handling thread.
This prevents a slow grid information network call from holding up the main packet handling thread. There's no obvious race condition reason for not doing this asynchronously.connector_plugin
parent
57273ef7b2
commit
daf03bfb56
|
@ -5321,7 +5321,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
AddLocalPacketHandler(PacketType.MoveTaskInventory, HandleMoveTaskInventory);
|
AddLocalPacketHandler(PacketType.MoveTaskInventory, HandleMoveTaskInventory);
|
||||||
AddLocalPacketHandler(PacketType.RezScript, HandleRezScript);
|
AddLocalPacketHandler(PacketType.RezScript, HandleRezScript);
|
||||||
AddLocalPacketHandler(PacketType.MapLayerRequest, HandleMapLayerRequest);
|
AddLocalPacketHandler(PacketType.MapLayerRequest, HandleMapLayerRequest);
|
||||||
AddLocalPacketHandler(PacketType.MapBlockRequest, HandleMapBlockRequest, false);
|
AddLocalPacketHandler(PacketType.MapBlockRequest, HandleMapBlockRequest);
|
||||||
AddLocalPacketHandler(PacketType.MapNameRequest, HandleMapNameRequest);
|
AddLocalPacketHandler(PacketType.MapNameRequest, HandleMapNameRequest);
|
||||||
AddLocalPacketHandler(PacketType.TeleportLandmarkRequest, HandleTeleportLandmarkRequest);
|
AddLocalPacketHandler(PacketType.TeleportLandmarkRequest, HandleTeleportLandmarkRequest);
|
||||||
AddLocalPacketHandler(PacketType.TeleportCancel, HandleTeleportCancel);
|
AddLocalPacketHandler(PacketType.TeleportCancel, HandleTeleportCancel);
|
||||||
|
|
Loading…
Reference in New Issue