Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.task(bind=True, max_retries=1)
- def notify_feedback(self, req_id):
- #some things
- later = datetime.datetime.utcnow() + datetime.timedelta(hours=1)
- notify_feedback.apply_async((req_id,), eta=later)
Add Comment
Please, Sign In to add comment