migrate background tasks to celery

This commit is contained in:
Viktor Barzin 2025-06-22 21:18:52 +00:00
parent efe3248c07
commit 93129333e6
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
7 changed files with 106 additions and 101 deletions

View file

@ -0,0 +1,8 @@
import enum
class TaskStatus(enum.StrEnum):
QUEUED = "queued"
PROCESSING = "processing"
COMPLETED = "completed"
FAILED = "failed"