We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe5337d commit 86d0dbaCopy full SHA for 86d0dba
ami/jobs/models.py
@@ -561,7 +561,7 @@ def enqueue(self):
561
Add the job to the queue so that it will run in the background.
562
"""
563
assert self.pk is not None, "Job must be saved before it can be enqueued"
564
- task_id = uuid.uuid4().hex
+ task_id = uuid()
565
566
def send_task():
567
run_job.apply_async(kwargs={"job_id": self.pk}, task_id=task_id)
0 commit comments