Skip to content

Commit

Permalink
add retries to failed storage inits
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Oct 11, 2023
1 parent 633de28 commit 924f2c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/console/clustering/bootstrapper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ defmodule Console.Bootstrapper do
{:ok, _} ->
{:noreply, %{state | cloned: true, output: "", table: flush(table, %{cloned: true, output: ""})}}
{:error, out} ->
Process.send_after(self(), :init, 10_000)
table = flush(table, %{cloned: false, output: Tee.output(out)})
{:noreply, %{state | cloned: false, output: Tee.output(out), table: table}}
end
Expand Down

0 comments on commit 924f2c5

Please sign in to comment.