Set background worker timeout to 15 minutes

This commit is contained in:
anemone 2023-03-23 23:14:52 -07:00
parent bf9db78426
commit f463b7570e

View file

@ -45,5 +45,5 @@ def perform(%Job{args: %{"op" => "delete_instance", "host" => host}}) do
end
@impl Oban.Worker
def timeout(_job), do: :timer.seconds(5)
def timeout(_job), do: :timer.seconds(900)
end