]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5994 it looks like its microseconds
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 8 Feb 2014 23:23:01 +0000 (04:23 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 8 Feb 2014 23:24:53 +0000 (04:24 +0500)
src/switch_scheduler.c

index e41a6b4f5708bc4213bffb1ce2efd5936d816fc0..de21c445b7180fd5c4374cac26a388761ef71d31 100644 (file)
@@ -185,7 +185,7 @@ static void *SWITCH_THREAD_FUNC switch_scheduler_task_thread(switch_thread_t *th
                if (task_thread_loop(0)) {
                        break;
                }
-               if (switch_queue_pop_timeout(globals.event_queue, &pop, 500) == SWITCH_STATUS_SUCCESS) {
+               if (switch_queue_pop_timeout(globals.event_queue, &pop, 500000) == SWITCH_STATUS_SUCCESS) {
                        switch_event_t *event = (switch_event_t *) pop;
                        switch_event_fire(&event);
                }