Conversation
- 독립적인 데이터베이스 세션 생성을 위해 get_db() 대신 SessionLocal() 사용 - 멀티스레딩 안정성을 확보하기 위한 코드 수정
- get_db() 대신 SessionLocal()을 사용하여 독립적인 데이터베이스 세션 생성 - 멀티스레딩 안정성을 확보하기 위한 코드 수정
- cardlinks의 chat_id가 문자열인 경우 UUID로 변환하는 로직 추가 - 코드 가독성을 높이기 위해 주석 추가
- async_invoke 및 get_session_status 메서드를 비동기적으로 변경하여 성능 향상 - 세션 상태 조회 시 세션이 존재하지 않을 경우 404 예외 처리 추가 - Redis에 대한 비동기 호출을 통해 블로킹 최소화 및 안정성 강화 - 코드 가독성을 높이기 위해 주석 추가 및 구조 정리
- async_invoke 메서드에서 background_tasks 인자를 제거하여 코드 간소화 - Redis에 세션 상태 저장 로직을 비동기적으로 처리하여 성능 향상 - 코드 가독성을 높이기 위해 주석 추가 및 구조 정리
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내역
특이 사항