Martin Chabot
Martin Chabot
I can't understand how the delay works. If I run the following code in the iex console: ```elixir defmodule Worker do @behaviour Honeydew.Worker def hello(thing) do IO.puts("Processing #{thing}") :timer.sleep(5000) IO.puts("Completed...
The entire beam, ctrl-c twice in the iex console.
Thanks @koudelka, now the job execution are repeatable however it seems that the jobs delay are now counted from the time the application starts. I am not sure that it's...
If I run the following in the console: ``` enqueue = fn data, delay -> opts = case delay do 0 -> [] a -> [delay_secs: a] end {:hello, ["#{data...
I wondering if can we use the `enqueued_at` and `delay_secs` field to recalculate the remaining time. If the time has lapsed, we can put 0 if not we can recalculate...
If you do something like: ```elixir def reset_run_at( %__MODULE__{job: %Job{delay_secs: delay_secs, enqueued_at: enqueued_at}} = wrapped_job ) do elapsed = System.system_time(:millisecond) - (enqueued_at + delay_sec * 1_000) new_delay = if elapsed...
It's not exactly what I wished because sometimes I have hundreds of retries. When the app boots , the jobs will all be retried at the same time. If they...
I started using Honeydew because it was a queue that had persistency. I wanted an easy way to restart the application at any time for continuous deployment. But, every time...
Thanks a lot, I will try that tomorrow.
It seems that the file that the gem is trying to copy does not exist anymore. Is there some kind of threading in the library?