From 3858e625a48d449db4452b47fd6032aaa474c8d9 Mon Sep 17 00:00:00 2001 From: dschreiber Date: Mon, 11 Jun 2012 21:59:47 -0700 Subject: [PATCH] The fix for FS-3577 causes instabilities if multiple listeners are connected it seems. Undoing this change for now until I can figure out the root cause. --- src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c b/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c index 12cf01a650..1c1c953dae 100644 --- a/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c +++ b/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c @@ -819,7 +819,7 @@ static void listener_main_loop(listener_t *listener) /* do we need the mutex when reading? */ /*switch_mutex_lock(listener->sock_mutex); */ - status = ei_xreceive_msg_tmo(listener->sockfd, &msg, &buf, 10); + status = ei_xreceive_msg_tmo(listener->sockfd, &msg, &buf, 100); /*switch_mutex_unlock(listener->sock_mutex); */ switch (status) {