From 16d4845fcd6d5934f95c309ef782c3ac99273058 Mon Sep 17 00:00:00 2001 From: Len Date: Tue, 16 Apr 2024 13:15:16 -0400 Subject: [PATCH] Update switch_cpp.cpp --- src/switch_cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index cd234a30e5..c49006073f 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -106,7 +106,7 @@ SWITCH_DECLARE(Event *) EventConsumer::pop(int block, int timeout) if (block) { if (timeout > 0) { - res = switch_queue_pop_timeout(events, &pop, (switch_interval_time_t) timeout * 1000); // millisec rather than microsec + res = switch_queue_pop_timeout(events, &pop, (switch_interval_time_t) timeout * 100000); // microsececonds not milliseconds } else { res = switch_queue_pop(events, &pop); }