This commit is contained in:
ttt161 2024-09-16 12:27:13 +03:00
parent c03df8b8f4
commit fb23b8dfaf

View File

@ -57,7 +57,7 @@ with(Conn, Pool, Fun) when is_pid(Conn) ->
%%
get_connection(Pool) ->
get_connection(Pool, erlang:system_time(millisecod) + ?CHECKOUT_TIMEOUT).
get_connection(Pool, erlang:system_time(millisecond) + ?CHECKOUT_TIMEOUT).
get_connection(Pool, Deadline) ->
Now = erlang:system_time(millisecond),