change enum
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user