diff options
author | antirez <antirez@gmail.com> | 2010-04-22 15:09:07 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-04-22 15:09:07 +0200 |
commit | 723240057a996a64516b10779f754ae26a91d0cd (patch) | |
tree | 690711df51749102fb7e4f8b5a48de827d3cfbd6 /redis.conf | |
parent | 2b61932933f48bef6a6c6aacf5859c6d21070f76 (diff) | |
download | redis-723240057a996a64516b10779f754ae26a91d0cd.tar.gz |
new units for bytes specification
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index c9ff26cf9..909f03bf6 100644 --- a/redis.conf +++ b/redis.conf @@ -1,5 +1,17 @@ # Redis configuration file example +# Note on units: when memory size is needed, it is possible to specifiy +# it in the usual form of 1k 5GB 4M and so forth: +# +# 1k => 1000 bytes +# 1kb => 1024 bytes +# 1m => 1000000 bytes +# 1mb => 1024*1024 bytes +# 1g => 1000000000 bytes +# 1gb => 1024*1024*1024 bytes +# +# units are case insensitive so 1GB 1Gb 1gB are all the same. + # By default Redis does not run as a daemon. Use 'yes' if you need it. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. daemonize no |