Commit 4cb38792a658de22b93e942d1632b3d0ac6cfb3b
1 parent
0b348292
Exists in
master
and in
28 other branches
Change periodic task to 60 seconds
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
colab/plugins/tasks.py
@@ -5,7 +5,7 @@ from celery.decorators import periodic_task | @@ -5,7 +5,7 @@ from celery.decorators import periodic_task | ||
5 | from .data import TASKS | 5 | from .data import TASKS |
6 | 6 | ||
7 | 7 | ||
8 | -@periodic_task(run_every=timedelta(seconds=5)) | 8 | +@periodic_task(run_every=timedelta(seconds=60)) |
9 | def import_plugin_data(): | 9 | def import_plugin_data(): |
10 | for task in TASKS: | 10 | for task in TASKS: |
11 | task.delay() | 11 | task.delay() |