You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def Example.TickWorker do
def perform() do
tick(60_000)
end
defp tick(t) do
cond do
t > 0 ->
IO.puts "tick: #{t}"
:timer.sleep(5_000)
tick(t - 5_000)
true ->
IO.puts "-- tick end"
end
end
end
When I try to unsubscribe one queue, and re-subscribe it
Exq automatically re-enqueue jobs from backup for currently running processes in that queue.
So I get duplicated processes as result if i check through
Exq.Api.process(Exq.Api)
.excerpt from Exq.Manager.Server
I guess it is because Exq assumes subscribe() is called to recover from errors.
my usecase is to control the flow depending on the situations.
here are some snippets to reproduce
and here are my console
thank you.
The text was updated successfully, but these errors were encountered: