Skip to content

Fix[#19] : Redis Socket Timeout 문제 해결#20

Merged
ghkdwldus0807 merged 2 commits intodevelopfrom
fix/solve-redis-timeout
Jul 30, 2025
Merged

Fix[#19] : Redis Socket Timeout 문제 해결#20
ghkdwldus0807 merged 2 commits intodevelopfrom
fix/solve-redis-timeout

Conversation

@ghkdwldus0807
Copy link
Contributor

확인 사항

  • 💯 테스트는 잘 통과했나요?
  • 🏗️ 빌드는 성공했나요?
  • 🧹 불필요한 코드는 제거했나요?
  • 💭 이슈는 등록했나요?
  • 🏷️ 라벨은 등록했나요?

작업 내용

redis에서 write 작업 시 socket timeout 문제를 해결하였습니다.

  • timeout 시간 명시적으로 설정
  • connection pool 설정
  • reids 인스턴스를 전역 변수로 하나만 만들고 이를 재사용하도록 구성하여 connection_pool이 적절히 생성되도록 수정
  • ssl 설정 추가
  • save_user_vector 메서드 내부 try- except 문을 추가하여 메서드 성공/실패 시 raabit mq 큐의 메세지가 즉시 소비되도록 수정

주의사항

없습니다.

Closes #19

@ghkdwldus0807 ghkdwldus0807 self-assigned this Jul 30, 2025
@ghkdwldus0807 ghkdwldus0807 linked an issue Jul 30, 2025 that may be closed by this pull request
4 tasks
Copy link
Collaborator

@likerhythm likerhythm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 😁

@ghkdwldus0807 ghkdwldus0807 merged commit 19af9ef into develop Jul 30, 2025
1 check passed
@ghkdwldus0807 ghkdwldus0807 deleted the fix/solve-redis-timeout branch July 30, 2025 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] Redis 연결 문제 해결

2 participants

Comments