From fab02799a7349219ee273fb2bf15c83ea9f2f524 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 27 Jan 2025 14:48:42 -0600 Subject: [PATCH] Update daybreak_connection.cpp --- common/net/daybreak_connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/net/daybreak_connection.cpp b/common/net/daybreak_connection.cpp index 4406a373c..95cb4cf60 100644 --- a/common/net/daybreak_connection.cpp +++ b/common/net/daybreak_connection.cpp @@ -55,7 +55,7 @@ void EQ::Net::DaybreakConnectionManager::Attach(uv_loop_t *loop) uv_ip4_addr("0.0.0.0", m_options.port, &recv_addr); int rc = uv_udp_bind(&m_socket, (const struct sockaddr *)&recv_addr, UV_UDP_REUSEADDR); - static const int NUM_STATIC_BUFFERS = 5000; + static const int NUM_STATIC_BUFFERS = 10000; static char static_buffers[NUM_STATIC_BUFFERS][512]; // Array of static buffers static std::atomic buffer_index(0); // Atomic to track the current buffer index @@ -1327,7 +1327,7 @@ void EQ::Net::DaybreakConnection::InternalSend(Packet &p) m_last_send = Clock::now(); - static const int NUM_STATIC_BUFFERS = 5000; + static const int NUM_STATIC_BUFFERS = 10000; static char static_buffers[NUM_STATIC_BUFFERS][512]; // Array of static buffers static std::atomic buffer_index(0); // Atomic to track the current buffer index