change enum

This commit is contained in:
xuyue committed 2026-05-09 02:30:47 -06:00
1 parent 78158471b2
commit c466dfd3c6
23 files changed
+451 -503

No files matched your search

+2 -2
View File
@@ -3,8 +3,6 @@ import logging
import time
import dramatiq
logger = logging.getLogger(__name__)
from django.db import transaction
from django.utils import timezone
@@ -13,6 +11,8 @@ from utils.shortcuts import DRAMATIQ_WORKER_ARGS
from .models import FlowchartSubmission, FlowchartSubmissionStatus
logger = logging.getLogger(__name__)
@dramatiq.actor(**DRAMATIQ_WORKER_ARGS(max_retries=3))
def evaluate_flowchart_task(submission_id):