Raphaël MANSUY
06b6c02415
cherry-pick 728721b1
2025-12-04 19:19:00 +08:00
Raphaël MANSUY
3f309105b0
cherry-pick d5bcd14c
2025-12-04 19:18:40 +08:00
Raphaël MANSUY
dd73dd3c9f
cherry-pick 816feefd
2025-12-04 19:18:40 +08:00
Raphaël MANSUY
8ebd98ae8e
cherry-pick 72b29659
2025-12-04 19:18:40 +08:00
yangdx
407a2c2ecd
Remove redundant shutdown message from gunicorn
...
(cherry picked from commit 6d4a55100e )
2025-12-04 19:09:02 +08:00
yangdx
4d57370c94
Refactor: Move get_env_value from api.config to utils
...
Relocates the `get_env_value` utility function
from `lightrag.api.config` to `lightrag.utils` to decouple
LightRAG core from API Server
2025-05-10 08:58:18 +08:00
yangdx
c8ecfa2d68
feat: Centralize configuration and update defaults
...
This commit introduces `lightrag/constants.py` to centralize default values for various configurations across the API and core components.
Key changes:
- Added `constants.py` to centralize default values
- Improved the `get_env_value` function in `api/config.py` to correctly handle string "None" as a None value and to catch `TypeError` during value conversion.
- Updated the default `SUMMARY_LANGUAGE` to "English"
- Set default `WORKERS` to 2
2025-05-06 22:00:43 +08:00
yangdx
53396e4d82
Fixlinting
2025-03-21 16:56:47 +08:00
yangdx
1f6d230da1
Increased default timeout values for Gunicorn configuration
...
- Doubled default timeout to 300 seconds
2025-03-21 15:26:23 +08:00
yangdx
82c2cae324
Unify two log filters into one and move it to utils
2025-03-13 17:43:11 +08:00
yangdx
462c27c167
Refactor logging setup and simplify Gunicorn configuration
...
• Move logging setup code to utils.py
• Provide setup_logger for standalone LightRAG logger intialization
2025-03-03 23:18:41 +08:00
yangdx
fb5f11f594
Add Gunicorn support for production deployment of LightRAG server
...
- Move gunicorn startup an config files to api package
- Create new CLI entry point for Gunicorn mode
2025-03-02 18:17:51 +08:00