mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
correct type internal to kvstore (minor) (#1246)
All of the internal variables related to number of dicts in the kvstore are type `int`. Not sure why these 2 items were declared as `long long`. Signed-off-by: Jim Brunner <brunnerj@amazon.com>
This commit is contained in:
parent
e985ead7f9
commit
0d7b2344b2
@ -54,8 +54,8 @@ struct _kvstore {
|
|||||||
int flags;
|
int flags;
|
||||||
dictType *dtype;
|
dictType *dtype;
|
||||||
dict **dicts;
|
dict **dicts;
|
||||||
long long num_dicts;
|
int num_dicts;
|
||||||
long long num_dicts_bits;
|
int num_dicts_bits;
|
||||||
list *rehashing; /* List of dictionaries in this kvstore that are currently rehashing. */
|
list *rehashing; /* List of dictionaries in this kvstore that are currently rehashing. */
|
||||||
int resize_cursor; /* Cron job uses this cursor to gradually resize dictionaries (only used if num_dicts > 1). */
|
int resize_cursor; /* Cron job uses this cursor to gradually resize dictionaries (only used if num_dicts > 1). */
|
||||||
int allocated_dicts; /* The number of allocated dicts. */
|
int allocated_dicts; /* The number of allocated dicts. */
|
||||||
|
Loading…
Reference in New Issue
Block a user