提交 b5821c15 authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env

上级 ef8dff45
...@@ -810,7 +810,7 @@ static void *msg_thread_run(esl_thread_t *me, void *obj) ...@@ -810,7 +810,7 @@ static void *msg_thread_run(esl_thread_t *me, void *obj)
} }
warn_stop = 0; warn_stop = 0;
} }
sleep_ms(1); //sleep_ms(1);
} }
thread_running = 0; thread_running = 0;
esl_log(ESL_LOG_DEBUG, "Thread Done\n"); esl_log(ESL_LOG_DEBUG, "Thread Done\n");
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
*/ */
#include <switch.h> #include <switch.h>
#define CMD_BUFLEN 1024 * 1000 #define CMD_BUFLEN 1024 * 1000
#define MAX_QUEUE_LEN 25000 #define MAX_QUEUE_LEN 100000
#define MAX_MISSED 500 #define MAX_MISSED 500
SWITCH_MODULE_LOAD_FUNCTION(mod_event_socket_load); SWITCH_MODULE_LOAD_FUNCTION(mod_event_socket_load);
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_event_socket_shutdown); SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_event_socket_shutdown);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论