From 0f99e00822866416e29d136db06f9f2863c1088c Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 29 三月 2021 14:39:03 +0800 Subject: [PATCH] update --- src/socket/shm_socket.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/socket/shm_socket.cpp b/src/socket/shm_socket.cpp index b5d4d09..8025564 100644 --- a/src/socket/shm_socket.cpp +++ b/src/socket/shm_socket.cpp @@ -46,7 +46,7 @@ if (tmp_ptr == NULL || tmp_ptr == (void *)1 ) { - queue = new LockFreeQueue<shm_packet_t>(1024); + queue = new LockFreeQueue<shm_packet_t>(32); hashtable_put(hashtable, key, (void *)queue); hashtable_unlock(hashtable); return queue; -- Gitblit v1.8.0