Move stop_event.wait(6) into finally block so that even when an exception occurs, the loop still sleeps before retrying. This prevents busy looping and excessive error logs when Redis connection fails. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) |
||
|---|---|---|
| .. | ||
| apps | ||
| db | ||
| utils | ||
| __init__.py | ||
| constants.py | ||
| ragflow_server.py | ||
| settings.py | ||
| validation.py | ||
| versions.py | ||