1 year ago

How does "retry_after" actually work?

Posted 1 year ago by VoidMrVoid

Hi. I can't get how does the queue "retry_after" actually work. Here is an example (Notice: for this example default queue execution timeout = 60 seconds)

If I specify retry_after to 90 seconds, what it will do:

  • wait 90 seconds after the job failed and start it over
  • subtract retry_after from default timeout (90s - 60s) and will retry the failed job after 30 seconds?

Please sign in or create an account to participate in this conversation.