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 c202bc0 commit 369d354Copy full SHA for 369d354
src/backend/apps/feed/tasks.py
@@ -7,13 +7,13 @@
7
from huey.contrib.djhuey import db_periodic_task, lock_task
8
9
10
-@db_periodic_task(crontab(hour="*/6"), retries=6, retry_delay=300, priority=20)
+@db_periodic_task(crontab(hour="*/6"), retries=6, retry_delay=300)
11
@lock_task('populate-cameras')
12
def populate_webcam_task():
13
populate_all_webcam_data()
14
15
16
-@db_periodic_task(crontab(minute="*/1"), priority=10)
+@db_periodic_task(crontab(minute="*/1"))
17
@lock_task('update-cameras')
18
def update_camera_task():
19
# Do not run when populate task is running
0 commit comments