Permalink
Browse files

Added incrbyfloat-precision setting to config file.

  • Loading branch information...
1 parent 776d58f commit ee3f0e39bdd6af81b9c073cb574da58fac947307 @slact committed Apr 1, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 redis.conf
View
7 redis.conf
@@ -443,6 +443,13 @@ set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
+# The INCRBYFLOAT and HINCRBYFLOAT commands save the result encoded as
+# a string (as a decimal or in scientific notation) with some maximum decimal
+# precision. The internal precision of these commands is machine-dependent,
+# but for most machines is at least 19 decimal digits. A value less than the
+# internal precision will round the result and hide floating point imprecision.
+# incrbyfloat-precision 17
+
# Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in
# order to help rehashing the main Redis hash table (the one mapping top-level
# keys to values). The hash table implementation Redis uses (see dict.c)

0 comments on commit ee3f0e3

Please sign in to comment.