Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

redis error handling #6

Open
doowonee opened this issue Aug 6, 2022 · 1 comment
Open

redis error handling #6

doowonee opened this issue Aug 6, 2022 · 1 comment

Comments

@doowonee
Copy link
Owner

doowonee commented Aug 6, 2022

retry and log as an error

@doowonee
Copy link
Owner Author

서버 실행 도중 레디스 끄면 레디스와의 커넥션 손상 감지해서 다시 계쏙 재연결 시도함

2022-08-13T08:43:33.295541Z DEBUG fred::multiplexer::commands: fred-7dep2FM28M: Reconnect task finished reconnecting or syncing with: Err(Redis Error - kind: IO, details: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })    
2022-08-13T08:43:33.295617Z  WARN fred::multiplexer::commands: fred-7dep2FM28M: Failed to reconnect with error Redis Error - kind: IO, details: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }    
2022-08-13T08:43:33.295665Z  INFO fred::multiplexer::commands: fred-7dep2FM28M: Sleeping for 1098 ms before reconnecting   

레디스 커넥션 에러 관련 대응 해야함 베스트는 레디스 하나더 만들어서 거기로 이전해서 Pubsub을 옮기게 하는것도 좋을듯 클라사이드에서 HA 구현 하는거지

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant