mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 15:38:08 +08:00
fix: disable scale for perfermance
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
@ -151,8 +151,8 @@ class WorkerPool:
|
||||
worker_id=worker_id,
|
||||
flask_app=self._flask_app,
|
||||
context_vars=self._context_vars,
|
||||
on_idle_callback=self._on_worker_idle,
|
||||
on_active_callback=self._on_worker_active,
|
||||
# on_idle_callback=self._on_worker_idle,
|
||||
# on_active_callback=self._on_worker_active,
|
||||
)
|
||||
|
||||
worker.start()
|
||||
|
||||
Reference in New Issue
Block a user