소스 검색

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)
tags/v0.18.0
Zhichang Yu 6 달 전
부모
커밋
23c5ce48d1
No account linked to committer's email address
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      api/ragflow_server.py

+ 2
- 2
api/ragflow_server.py 파일 보기

@@ -61,8 +61,8 @@ def update_progress():
stop_event.wait(6)
except Exception:
logging.exception("update_progress exception")
if redis_lock.acquired:
redis_lock.release()
finally:
redis_lock.release()

def signal_handler(sig, frame):
logging.info("Received interrupt signal, shutting down...")

Loading…
취소
저장