mv tags/by_user to usertags/by_user to userdata db
[mygpo.git] / mygpo / api / tasks.py
blob32058834ce651e0edfd2c1bc41cd49cb98e00d2e
1 from mygpo.cel import celery
2 from mygpo.api.advanced import update_episodes
5 @celery.task(max_retries=5, default_retry_delay=60)
6 def import_episode_actions(user, actions, upload_ts, ua_string):
7 update_episodes(user, actions, upload_ts, ua_string)
9 # celery-based handler for episode-actions
10 episode_actions_celery_handler = import_episode_actions.delay