Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Sep 19, 2024
1 parent 49caf9f commit 439752e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/flame/fly_backend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ defmodule FLAME.FlyBackend do
# 412 Precondition Failed (can't find capacity)
# 409 Conflict (the flyd tried ending up not having capacity)
# 422 Unprocessable Entity (could not find capcity for volume workloads)
{:ok, {{_, status, _}, _, _response_body}} when status in [429, 412, 409, 422] and remaining_tries > 0 ->
{:ok, {{_, status, _}, _, _response_body}}
when status in [429, 412, 409, 422] and remaining_tries > 0 ->
Process.sleep(1000)
http_post!(url, remaining_tries - 1, opts)

Expand Down

0 comments on commit 439752e

Please sign in to comment.