balderdashy / balderdashy/sails
Remove socket error logs during automatic disconnect/reconnect of Redis/Sails app
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
Currently there will be `sails-hook-sockets` error logs when Redis and Sails disconnect and reconnect automatically. Something like this 👇🏾

## Solution
Log as verbose and not error when the disconnect/reconnect happens and it's not an error but the more opportunistic automatic disconnect/reconnect
Contributor guide
Research direction
Start by tracing the sails-hook-sockets logging path for Redis and Sails automatic disconnect/reconnect events. Confirm how the current messages are emitted and identify existing coverage, if any. Done means these expected lifecycle events are logged at verbose level rather than error, without changing genuine socket errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, redis
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100