Improve zombie client connection detection - #4465
Conversation
Signed-off-by: harrylin98 <harrylin980107@gmail.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forkless #4465 +/- ##
============================================
- Coverage 79.82% 79.40% -0.43%
============================================
Files 175 175
Lines 94843 93223 -1620
============================================
- Hits 75712 74021 -1691
- Misses 19131 19202 +71
🚀 New features to boost your workflow:
|
JimB123
left a comment
There was a problem hiding this comment.
If this isn't critical specifically for the forkless branch, I'd recommend keeping this with the throttling branch and resolve during the merge.
If you concur, please close the PR
Preparatory cleanup extracted from the throttling PR: https://github.com/valkey-io/valkey/pull/4356/changes#diff-b95cee2ea24f3f4245c20ba624dd69c6b741fe7d63e64a29e451e4f09b536abeR426
connSocketIsClosing→connTcpSocketIsClosingclientsCronTcpIsClosinggetsockoptinstead of requiring the full struct size