1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

docs(README): Document hz flag (#201)

Document hz flag in readme

The hz flag determines how frequently timers used for key eviction are evaluated. Document this flag in the readme.
This commit is contained in:
Joseph Bylund 2022-07-12 06:37:36 -04:00 committed by GitHub
parent 7adf80fccd
commit 1cba08891e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,9 +138,11 @@ Dragonfly currently supports the following Redis-specific arguments:
In addition, it has Dragonfly specific arguments options:
* `memcache_port` - to enable memcached compatible API on this port. Disabled by default.
* `keys_output_limit` - maximum number of returned keys in `keys` command. Default is 8192.
`keys` is a dangerous command. we truncate its result to avoid blowup in memory when fetching too many keys.
`keys` is a dangerous command. We truncate its result to avoid blowup in memory when fetching too many keys.
* `dbnum` - maximum number of supported databases for `select`.
* `cache_mode` - see [Cache](#novel-cache-design) section below.
* `hz` - key expiry evaluation frequency. Default is 1000. Lower frequency uses less cpu when
idle at the expense of precision in key eviction.
for more options like logs management or tls support, run `dragonfly --help`.