mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Add packet flush when packet queue is full to Lobby and World servers
This commit is contained in:
parent
a996797beb
commit
324026874a
2 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,9 @@ namespace FFXIVClassic_World_Server
|
|||
|
||||
public void QueuePacket(BasePacket packet)
|
||||
{
|
||||
if (SendPacketQueue.Count == SendPacketQueue.BoundedCapacity - 1)
|
||||
FlushQueuedSendPackets();
|
||||
|
||||
SendPacketQueue.Add(packet);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue