Commit Graph

43 Commits

Author SHA1 Message Date
liqiang-fit2cloud 778d379cc5 fix: set --graceful-timeout to 5 min. 2025-12-04 19:47:45 +08:00
liqiang-fit2cloud cbdfb31211 fix: set --graceful-timeout to 60. 2025-12-04 19:42:47 +08:00
CaptainB decd060304 chore: adjust default worker count calculation in command.py
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-11 20:41:55 +08:00
liqiang-fit2cloud 324f836fdd refactor: never restart core worker if worker=1. 2025-11-11 18:13:21 +08:00
CaptainB 42d91e232b refactor: remove scheduler service and related code 2025-11-07 21:02:27 +08:00
liqiang-fit2cloud fa0cd61584 fix: ensure worker count is properly converted to integer for max_requests 2025-11-07 11:18:02 +08:00
CaptainB fe7d75d720 fix: ensure worker count is properly converted to integer for max_requests 2025-11-07 10:33:06 +08:00
CaptainB 6b8a9bdc74 fix: correct parameter name for graceful timeout in Gunicorn configuration 2025-11-07 10:19:40 +08:00
liqiang-fit2cloud 7a4594db66 refactor: set timeout for workers. 2025-11-07 10:13:24 +08:00
liqiang-fit2cloud 207a67dcc2 refactor: never restart scheduler worker if worker=1. 2025-11-07 10:04:16 +08:00
liqiang-fit2cloud ea2c2f9e2b refactor: never restart local_model worker if LOCAL_MODEL_HOST_WORKER=1. 2025-11-07 09:58:15 +08:00
shaohuzhang1 8a0a807763
fix: Set the startup environment variables (#4322) 2025-11-06 11:22:36 +08:00
shaohuzhang1 88fc5dd398
fix: Set the startup environment variables (#4321) 2025-11-06 10:31:14 +08:00
CaptainB a30d0d07d1 revert: add Gunicorn preload option and initialize shared resources
This reverts commit 1af14bdb27.
2025-11-05 16:39:54 +08:00
CaptainB 1af14bdb27 feat: add Gunicorn preload option and initialize shared resources 2025-11-05 12:38:00 +08:00
CaptainB ddc60dd1c3 revert: add subprocess handling for local model and conditional post handler execution
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
This reverts commit 8e3550eb83.
2025-11-04 19:25:56 +08:00
CaptainB 8e3550eb83 feat: add subprocess handling for local model and conditional post handler execution 2025-11-04 14:19:06 +08:00
liqiang-fit2cloud 8c788bf785 perf: revert preload. 2025-11-04 09:31:27 +08:00
liqiang-fit2cloud af5d0dcb9f perf: try to reduce memory usage by adding --preload argument for multi workers. 2025-10-23 10:25:25 +08:00
liqiang-fit2cloud c5aa570482 perf: try to reduce memory usage by decreasing default core workers to 2. 2025-10-23 10:20:05 +08:00
CaptainB b41b054c49 fix: update LOG_KEEP_DAYS to use CONFIG for configurable log retention 2025-07-22 10:23:14 +08:00
CaptainB 1df333bffc refactor: reorganize post handler and introduce post scheduler handler 2025-07-21 15:52:54 +08:00
CaptainB 638a09d4f4 chore: redirect access logs to /dev/null in gunicorn and local_model 2025-07-18 10:40:46 +08:00
CaptainB 03ba4df625 fix: update Gunicorn access log file configuration to use stdout
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-17 21:43:27 +08:00
CaptainB 9e80a652c4 refactor: replace try_lock and un_lock with RedisLock for improved locking mechanism 2025-07-17 15:34:11 +08:00
liqiang-fit2cloud 232e90fd12 refactor: change log level. 2025-07-16 14:09:07 +08:00
liqiang-fit2cloud 8ee575b32e refactor: disable access log. 2025-07-07 15:04:35 +08:00
CaptainB 3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
CaptainB 47a3489a0a fix: add LOG_DIR import and update log directory paths
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-06-21 22:42:46 +08:00
CaptainB 43087e7ca3 feat: add compilation and installation scripts for MaxKB project 2025-06-13 17:58:52 +08:00
CaptainB 54578eff33 fix: update logging messages to reflect new MaxKB branding 2025-06-13 11:18:39 +08:00
CaptainB 269960649d feat: add gunicorn and python-daemon dependencies to pyproject.toml 2025-06-05 17:56:42 +08:00
CaptainB c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
shaohuzhang1 fd35ef281c
refactor: 修改默认worker计算方法 (#1761)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-12-04 15:48:55 +08:00
shaohuzhang1 d315c01133 fix: 修复dev 无法启动celery 2024-08-22 10:49:22 +08:00
shaohuzhang1 ec4fe833b1 fix: 修复无法启动问题
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-21 18:39:18 +08:00
shaohuzhang1 63e7e52a35 fix: 解决local_model服务端口冲突问题 2024-08-21 16:26:56 +08:00
zhangshaohu 7c5957e0a3 feat: 分离任务 2024-08-21 14:46:38 +08:00
shaohuzhang1 d935e9a836
fix: 修复上传文档,高级分段设置分段长度为10w字符,生成预览还是4096个字符一段 (#884) 2024-07-29 14:08:40 +08:00
shaohuzhang1 1979cf12c4
feat: gunicorn启动使用gthread (#882)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2024-07-26 18:58:01 +08:00
shaohuzhang1 0131f46e37
fix: 修改启动方式 (#860) 2024-07-24 16:55:00 +08:00
shaohuzhang1 c465ddff19
fix: 修复无法流式输出 (#820)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2024-07-19 21:34:17 +08:00
shaohuzhang1 16851592c3
feat: 添加web服务器gunicorn 2024-07-19 18:23:56 +08:00