slowness due to the betaseries step, moving to shared task
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s

This commit is contained in:
pierre geeraert
2026-07-04 13:53:44 +01:00
parent c9e66762df
commit 919065093d
2 changed files with 13 additions and 8 deletions
+2 -3
View File
@@ -36,10 +36,9 @@ def episode_generator(request):
#Set episode as seen
# It will still update an already seem episode but it works and I'm lazy
simpsons_data_object.filter(season=random_seasons, episode=random_episode).values('seen').update(seen=True)
#Mark episode as seen on betaseries
mark_episode_watched(random_seasons,random_episode,"watched")
mark_episode_watched.delay(random_seasons,random_episode,"watched")
return redirect(str(random_url))