summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dict.c b/src/dict.c
index d46e30588..b3d7fa406 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -52,9 +52,9 @@
* for Redis, as we use copy-on-write and don't want to move too much memory
* around when there is a child performing saving operations.
*
- * Note that even when dict_can_resize is set to 0, not all resizes are
- * prevented: a hash table is still allowed to grow if the ratio between
- * the number of elements and the buckets > dict_force_resize_ratio. */
+ * Note that even when dict_can_resize is set to DICT_RESIZE_AVOID, not all
+ * resizes are prevented: a hash table is still allowed to grow if the ratio
+ * between the number of elements and the buckets > dict_force_resize_ratio. */
static dictResizeEnable dict_can_resize = DICT_RESIZE_ENABLE;
static unsigned int dict_force_resize_ratio = 5;