From 2ecf77efe29d41a47952325c30753a60a1f95042 Mon Sep 17 00:00:00 2001 From: yangdx Date: Tue, 2 Dec 2025 02:52:31 +0800 Subject: [PATCH] Update help text to use correct gunicorn command with workers flag --- lightrag/api/run_with_gunicorn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/api/run_with_gunicorn.py b/lightrag/api/run_with_gunicorn.py index deabe7cf..e3bc0a8c 100644 --- a/lightrag/api/run_with_gunicorn.py +++ b/lightrag/api/run_with_gunicorn.py @@ -100,7 +100,7 @@ def main(): print("\nHow to fix:") print(" Option 1 - Set environment variable before starting (recommended):") print(" export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES") - print(" lightrag-server") + print(" lightrag-gunicorn --workers 2") print("\n Option 2 - Add to your shell profile (~/.zshrc or ~/.bash_profile):") print(" echo 'export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES' >> ~/.zshrc") print(" source ~/.zshrc")