Skip to content

Commit

Permalink
ignore acking errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Oct 14, 2023
1 parent 4fd70e4 commit 6df8177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/reaper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ defmodule TestcontainersElixir.Reaper do
"#{:uri_string.quote(filter_key)}=#{:uri_string.quote(filter_value)}" <> "\n"
)

case :gen_tcp.recv(socket, 0, 5_000) do
case :gen_tcp.recv(socket, 0, 8_000) do
{:ok, "ACK\n"} ->
:ok

{:error, reason} ->
IO.puts("Error receiving data: #{inspect(reason)}")
{:error, reason}
IO.puts("Reaper: Ignoring error acking data: #{inspect(reason)}")
:ok
end
end
end
Expand Down

0 comments on commit 6df8177

Please sign in to comment.