]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak event queue size on event socket and speed up fs_cli a little to keep up on...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Jan 2014 16:26:49 +0000 (21:26 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Jan 2014 16:26:56 +0000 (21:26 +0500)
libs/esl/fs_cli.c
src/mod/event_handlers/mod_event_socket/mod_event_socket.c

index 968e647e33d9fcca9ca5f6b9751b223fbc349548..cfa0c09475689e90ca47e0da8cf60c7ab5ee107f 100644 (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");
index 03437e4befba2ca45c126db7ac0ea830cfda5af7..ac153b4b6fa490a087221194c42f500339017bee 100644 (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);