-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the MAXAGE option for CLIENT KILL #3754
Conversation
Issue redis#3731 Starting with Redis 7.6, the CLIENT KILL command has a new option, called MAXAGE, to kill clients older than a given age. Add support for this new option.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3754 +/- ##
============================================
- Coverage 75.40% 75.37% -0.04%
Complexity 4931 4931
============================================
Files 300 300
Lines 15054 15055 +1
Branches 1131 1131
============================================
- Hits 11352 11348 -4
- Misses 3207 3211 +4
- Partials 495 496 +1 ☔ View full report in Codecov by Sentry. |
src/test/java/redis/clients/jedis/commands/jedis/ClientCommandsTest.java
Outdated
Show resolved
Hide resolved
src/test/java/redis/clients/jedis/commands/jedis/ClientCommandsTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
* Support the MAXAGE option for CLIENT KILL Starting with Redis 7.6, the CLIENT KILL command has a new option, called MAXAGE, to kill clients older than a given age. Add support for this new option. * Ensure clients are closed in some tests * More concise unit test code Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com> --------- Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com> Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
Issue #3731
Starting with Redis 7.6, the CLIENT KILL command has a new option, called MAXAGE, to kill clients older than a given age. Add support for this new option.