mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
Enable TopKeys by default.
This is a better API as it's less confusing. This feature is still disabled by default via the controlling flag. Signed-off-by: chakaz <chakaz@chakaz>
This commit is contained in:
parent
96b44750fe
commit
5b4af6dbd0
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ class TopKeys {
|
|||
// low value for high load is frequent string copying and memory allocation.
|
||||
uint64_t min_key_count_to_record = 100;
|
||||
|
||||
// Disabled by default, as this is a debug feature with runtime and memory overhead.
|
||||
bool enabled = false;
|
||||
// Pass false to disable, making this class no-op.
|
||||
bool enabled = true;
|
||||
};
|
||||
|
||||
explicit TopKeys(Options options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue