-
Notifications
You must be signed in to change notification settings - Fork 999
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
feat: implement connection timeout functionality #4407
Conversation
c09c45c
to
cc30718
Compare
|
||
ABSL_FLAG(uint32_t, interpreter_per_thread, 10, "Lua interpreters per thread"); | ||
ABSL_FLAG(uint32_t, timeout, 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe rename to connection_timeout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you intend to change the default in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the name and the default value are compatible with valkey. see https://github.com/valkey-io/valkey/blob/unstable/valkey.conf#L161
3540dc3
to
eea9821
Compare
`timeout` argument shuts down idle connections after the specified time. Fixes #1677 Signed-off-by: Roman Gershman <roman@dragonflydb.io>
timeout
argument shuts down idle connections after the specified time.Fixes #1677