mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Remove crontab jobs
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
from arq.cron import cron
|
|
||||||
|
|
||||||
from app.services.cache_updater import (
|
from app.services.cache_updater import (
|
||||||
check_books,
|
check_books,
|
||||||
cache_file_by_book_id,
|
cache_file_by_book_id,
|
||||||
@@ -29,4 +27,3 @@ class WorkerSettings:
|
|||||||
redis_settings = get_redis_settings()
|
redis_settings = get_redis_settings()
|
||||||
max_jobs = 2
|
max_jobs = 2
|
||||||
job_timeout = 3 * 60
|
job_timeout = 3 * 60
|
||||||
cron_jobs = [cron(check_books, hour={5}, minute=0)]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user