mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-18 15:36:21 +08:00
### What problem does this PR solve? `check_ragflow_server_alive()` in `api/utils/health_utils.py` calls `requests.get(url)` without a `timeout` parameter. Unlike `check_minio_alive()` which correctly specifies `timeout=10`, this health check can hang indefinitely if the server is unresponsive. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) ### Changes Added `timeout=10` to the `requests.get()` call, consistent with `check_minio_alive()`. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>