Timeout > 5000ms
Closed this issue · 0 comments
hadidon commented
it is impossible to set a timeout over 5000ms.
Testing this code, "hello" is never displayed :
{:ok, opq} = OPQ.init(workers: 1, interval: 0, timeout: 10000)
OPQ.enqueue(opq, fn ->
Process.sleep(6000)
IO.inspect("hello")
end)