mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
fix: non reset fields in command config resetstat (#2425)
This commit is contained in:
parent
c8871896d7
commit
3031e7a3ee
4 changed files with 36 additions and 8 deletions
|
@ -1385,6 +1385,10 @@ void DbSlice::ResetUpdateEvents() {
|
|||
events_.update = 0;
|
||||
}
|
||||
|
||||
void DbSlice::ResetEvents() {
|
||||
events_ = {};
|
||||
}
|
||||
|
||||
void DbSlice::TrackKeys(const facade::Connection::WeakRef& conn, const ArgSlice& keys) {
|
||||
if (conn.IsExpired()) {
|
||||
DVLOG(2) << "Connection expired, exiting TrackKey function.";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue