Relax result matching to fix pgsql keepalive (#2632)

This commit is contained in:
Christophe Romain 2018-11-21 18:06:32 +01:00
parent 8a960f77d4
commit 4b3db3a9cb
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ keep_alive(Host, PID) ->
{sql_cmd, {sql_query, ?KEEPALIVE_QUERY},
p1_time_compat:monotonic_time(milli_seconds)},
query_timeout(Host)) of
{selected,[<<"1">>],[[<<"1">>]]} ->
{selected,_,[[<<"1">>]]} ->
ok;
_Err ->
?ERROR_MSG("keep alive query failed, closing connection: ~p", [_Err]),