mirror of https://mirror.osredm.com/root/redis.git
Fix 2 comments in dict.c & redis-cli.c (#10860)
* fix comment in dict.c fix comment in dict.c * Fix comment in redis-cli.c Fix comment in redis-cli.c
This commit is contained in:
parent
78960ad57b
commit
c65e5087e8
|
@ -282,7 +282,7 @@ int dictRehashMilliseconds(dict *d, int ms) {
|
|||
/* This function performs just a step of rehashing, and only if hashing has
|
||||
* not been paused for our hash table. When we have iterators in the
|
||||
* middle of a rehashing we can't mess with the two hash tables otherwise
|
||||
* some element can be missed or duplicated.
|
||||
* some elements can be missed or duplicated.
|
||||
*
|
||||
* This function is called by common lookup or update operations in the
|
||||
* dictionary so that the hash table automatically migrates from H1 to H2
|
||||
|
|
|
@ -7489,7 +7489,7 @@ struct distsamples {
|
|||
* of the collected samples targeting an xterm 256 terminal.
|
||||
*
|
||||
* Takes an array of distsamples structures, ordered from smaller to bigger
|
||||
* 'max' value. Last sample max must be 0, to mean that it olds all the
|
||||
* 'max' value. Last sample max must be 0, to mean that it holds all the
|
||||
* samples greater than the previous one, and is also the stop sentinel.
|
||||
*
|
||||
* "tot' is the total number of samples in the different buckets, so it
|
||||
|
|
Loading…
Reference in New Issue