]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
switch_pgsql.c switch_pgsql_next_result_timed() was using switch_time_now() for...
authorChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 7 Oct 2014 13:33:19 +0000 (09:33 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 7 Oct 2014 13:33:19 +0000 (09:33 -0400)
commit4a5e36d63e11c6e7a7fb0cf2e874cdd4479ece55
treee910ee1f680f56be76c9fb650bd4bdf20faacf11
parentda43bdeb12e968189f3926db964d62db90ea1a5e
switch_pgsql.c switch_pgsql_next_result_timed() was using switch_time_now() for start time and switch_micro_time_now() for current time.  These are different time sources that may not be in sync and could cause the query to timeout prematurely.
src/switch_pgsql.c