]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't block on db for fifo track_calls
authorMichael Jerris <mike@jerris.com>
Tue, 11 Dec 2012 21:35:53 +0000 (16:35 -0500)
committerMichael Jerris <mike@jerris.com>
Tue, 11 Dec 2012 21:35:53 +0000 (16:35 -0500)
src/mod/applications/mod_fifo/mod_fifo.c

index 1a6ed6dc2782faea6df6f26b8d4865963cfa991b..e7388a9b9a6d28222b975175257372c463949447 100644 (file)
@@ -2217,7 +2217,7 @@ SWITCH_STANDARD_APP(fifo_track_call_function)
 
        sql = switch_mprintf("update fifo_outbound set stop_time=0,start_time=%ld,outbound_fail_count=0,use_count=use_count+1,%s=%s+1,%s=%s+1 where uuid='%q'",
                                                 (long) switch_epoch_time_now(NULL), col1, col1, col2, col2, data);
-       fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE);
+       fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE);
 
 
        if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_INBOUND) {