daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Dec 14th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @app.task(bind=True, max_retries=1)
  2. def notify_feedback(self, req_id):
  3.     #some things
  4.    
  5. later = datetime.datetime.utcnow() + datetime.timedelta(hours=1)
  6. notify_feedback.apply_async((req_id,), eta=later)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top