Support 80k Queues in a batch

a 2048000 size read buffer will support 80k queues being installed
in a batch.

H/T Lake Linx and Herbert for this improvement. Perhaps it too
can be improved to have no limit, or the right limit, in the future.
This commit is contained in:
Dave Taht 2023-03-04 19:57:05 -08:00
parent 2843061bbd
commit 875ab4b8dc

View File

@ -12,7 +12,7 @@ use tokio::{
use super::BUS_SOCKET_DIRECTORY;
const READ_BUFFER_SIZE: usize = 20480;
const READ_BUFFER_SIZE: usize = 2048000;
/// Implements a Tokio-friendly server using Unix Sockets and the bus protocol.
/// Requests are handled and then forwarded to the handler.