Skip to content

Commit 1830aa6

Browse files
committed
fix missing manager call
1 parent 8c4e453 commit 1830aa6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

steady_queue/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from datetime import timedelta
22
from typing import Optional
33

4-
VERSION = (0, 1, "0b8")
4+
VERSION = (0, 1, "0b9")
55

66
__version__ = ".".join(map(str, VERSION))
77

steady_queue/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def enqueue(
2828

2929
task.args = args
3030
task.kwargs = kwargs
31-
job = Job.enqueue(task, scheduled_at=task.run_after)
31+
job = Job.objects.enqueue(task, scheduled_at=task.run_after)
3232
return self._to_task_result(task, job)
3333

3434
def get_result(self, result_id: str) -> TaskResult:

0 commit comments

Comments
 (0)