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