diff --git a/src/switch_time.c b/src/switch_time.c index 6d6a78f32d..cae4132628 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -105,7 +105,7 @@ static void do_sleep(switch_interval_time_t t) #endif #if !defined(DARWIN) - if (t > 100000) { + if (t > 100000 || !NANO) { apr_sleep(t); } #endif