-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add an execution delay to a task? #7
Comments
I think I got it, that's a queue configuration, directly in AWS console. I wish I could set it individually for each task. |
At the risk of missing the point, why don't you add |
Hey, thanks for the idea. That would work, but with the drawback that the worker would be busy for more time than needed. |
@edhowler hi! Sorry for such a delay in response. Glad you've found the lib useful. I've never implemented this time of behavior myself, so I may be not the best person to advise. Anyway, AWS seems to have a feature called delay-queues – I think you can use it to delay visibility of the tasks for the worker. I guess you can create a delay queue and send messages to this queue to delay them. |
This feature is something that could be very useful. The aforementioned P.S. If anybody found a suitable alternative, please let me know. |
Hi, thanks for this library!
How can I add a task that is executed 10 seconds after it was sent? Is there a simple workaround, in the case it is not implemented?
The text was updated successfully, but these errors were encountered: