mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 06:35:38 +01:00
Set max jobs to 4
This commit is contained in:
@@ -27,6 +27,6 @@ class WorkerSettings:
|
|||||||
on_startup = startup
|
on_startup = startup
|
||||||
on_shutdown = shutdown
|
on_shutdown = shutdown
|
||||||
redis_settings = get_redis_settings()
|
redis_settings = get_redis_settings()
|
||||||
max_jobs = 2
|
max_jobs = 4
|
||||||
max_tries = 3
|
max_tries = 3
|
||||||
job_timeout = 10 * 60
|
job_timeout = 10 * 60
|
||||||
|
|||||||
Reference in New Issue
Block a user