tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env
This commit is contained in:
parent
454a288ec6
commit
47992ab5f0
|
@ -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 @@
|
||||||
*/
|
*/
|
||||||
#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);
|
||||||
|
|
Loading…
Reference in New Issue