ragflow/api
yihong 622b72db4b
Fix: add ctrl+c signal for better exit (#5469)
### What problem does this PR solve?

This patch add signal for ctrl + c that can exit the code friendly
cause code base use thread daemon can not exit friendly for being
started.

how to reproduce
1. docker-compose -f docker/docker-compose-base.yml up
2. other window `bash docker/launch_backend_service.sh`
3. stop 1 first
4. try to stop 2 then two thread can not exit which must use `kill pid`

This patch fix it 
and should fix most the related issues in the `issues`

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-02-28 14:52:40 +08:00
..
apps Fix: add image2text issue. (#5431) 2025-02-27 14:06:49 +08:00
db Fix: rm think if stream is Flase. (#5458) 2025-02-28 10:05:18 +08:00
utils Feat: Accessing Alibaba Cloud OSS with Amazon S3 SDK (#5438) 2025-02-27 17:02:42 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Add more web test cases (#3702) 2024-11-28 15:46:35 +08:00
ragflow_server.py Fix: add ctrl+c signal for better exit (#5469) 2025-02-28 14:52:40 +08:00
settings.py Add configuration to choose default llm models (#5245) 2025-02-24 10:13:39 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00