mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-19 04:30:01 +08:00
Fix update_progress issue (#6992)
### What problem does this PR solve? Fix update_progress issue introduced by #6975 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
de766ba628
commit
23c5ce48d1
@ -61,8 +61,8 @@ def update_progress():
|
|||||||
stop_event.wait(6)
|
stop_event.wait(6)
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.exception("update_progress exception")
|
logging.exception("update_progress exception")
|
||||||
if redis_lock.acquired:
|
finally:
|
||||||
redis_lock.release()
|
redis_lock.release()
|
||||||
|
|
||||||
def signal_handler(sig, frame):
|
def signal_handler(sig, frame):
|
||||||
logging.info("Received interrupt signal, shutting down...")
|
logging.info("Received interrupt signal, shutting down...")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user