yangdx commited on
Commit
ff52466
·
1 Parent(s): 29744d8

Update Gunicorn startup instructions in API documentation

Browse files
Files changed (1) hide show
  1. lightrag/api/README.md +5 -2
lightrag/api/README.md CHANGED
@@ -102,8 +102,11 @@ light-server --llm-binding ollama --embedding-binding ollama
102
  For production deployments, it's recommended to use Gunicorn as the WSGI server to handle concurrent requests efficiently. LightRAG provides a dedicated Gunicorn startup script that handles shared data initialization, process management, and other critical functionalities.
103
 
104
  ```bash
105
- # Start with run_with_gunicorn.py
106
- python run_with_gunicorn.py --workers 4
 
 
 
107
  ```
108
 
109
  The `--workers` parameter is crucial for performance:
 
102
  For production deployments, it's recommended to use Gunicorn as the WSGI server to handle concurrent requests efficiently. LightRAG provides a dedicated Gunicorn startup script that handles shared data initialization, process management, and other critical functionalities.
103
 
104
  ```bash
105
+ # Start with lightrag-gunicorn command
106
+ lightrag-gunicorn --workers 4
107
+
108
+ # Alternatively, you can use the module directly
109
+ python -m lightrag.api.run_with_gunicorn --workers 4
110
  ```
111
 
112
  The `--workers` parameter is crucial for performance: