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:
Anthony Minessale 2014-01-23 21:26:49 +05:00
parent 454a288ec6
commit 47992ab5f0
2 changed files with 2 additions and 2 deletions

View File

@ -810,7 +810,7 @@ static void *msg_thread_run(esl_thread_t *me, void *obj)
}
warn_stop = 0;
}
sleep_ms(1);
//sleep_ms(1);
}
thread_running = 0;
esl_log(ESL_LOG_DEBUG, "Thread Done\n");

View File

@ -31,7 +31,7 @@
*/
#include <switch.h>
#define CMD_BUFLEN 1024 * 1000
#define MAX_QUEUE_LEN 25000
#define MAX_QUEUE_LEN 100000
#define MAX_MISSED 500
SWITCH_MODULE_LOAD_FUNCTION(mod_event_socket_load);
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_event_socket_shutdown);