Set background worker timeout to 15 minutes
This commit is contained in:
parent
bf9db78426
commit
f463b7570e
|
@ -45,5 +45,5 @@ def perform(%Job{args: %{"op" => "delete_instance", "host" => host}}) do
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl Oban.Worker
|
@impl Oban.Worker
|
||||||
def timeout(_job), do: :timer.seconds(5)
|
def timeout(_job), do: :timer.seconds(900)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue