From e277d9b53743f9f5722d988620e5e854ab49f79f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 21 Apr 2008 14:44:23 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8132 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_time.c b/src/switch_time.c index c4018a3dbc..e60289deb2 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -298,7 +298,7 @@ static switch_status_t timer_destroy(switch_timer_t *timer) SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime) { - switch_time_t too_late = STEP_MIC * 128; + switch_time_t too_late = STEP_MIC * 1000; uint32_t current_ms = 0; uint32_t x, tick = 0; switch_time_t ts = 0, last = 0; @@ -324,6 +324,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime) MONO = 0; runtime.reference = switch_time_now(); runtime.initiated = runtime.reference; + break; } switch_yield(STEP_MIC); last = ts;