-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add snapshot_cron
flag in README (English and zh-CN)
#1729
Conversation
8721485
to
f2e0285
Compare
@Niennienzz there are some whitespace problems |
4026ec5
to
903f654
Compare
Thank you @romange, fixed! I think the only CI failing is because of timeout? |
@@ -106,7 +106,8 @@ There are also some Dragonfly-specific arguments: | |||
* `dbnum`: Maximum number of supported databases for `select`. | |||
* `cache_mode`: See the [novel cache design](#novel-cache-design) section below. | |||
* `hz`: Key expiry evaluation frequency (`default: 100`). Lower frequency uses less CPU when idle at the expense of a slower eviction rate. | |||
* `save_schedule`: Glob spec for the UTC to save a snapshot in HH:MM (24h time) format (`default: ""`). | |||
* `snapshot_cron`: Cron schedule expression for automatic backup snapshots using standard cron syntax with the granularity of minutes (`default: ""`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not straightforward so I think it's a great place to add some examples with the explanation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added examples, linked to our "Saving Backups" doc. 😃
9de7e55
to
e625e1f
Compare
README.md
Outdated
|---------------------------|------------------------------------------------| | ||
| `* * * * *` | At every minute | | ||
| `*/5 * * * *` | At every 5th minute | | ||
| `*/30 * * * *` | At every 30th minute | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, let's remove lines 116, 120, 117 :)
docs: fix whitespaces in kr docs: snapshot_cron examples docs: snapshot_cron less examples
e625e1f
to
6dde76c
Compare
snapshot_cron
flag inREADME.md
andREADME.zh-CN.md
.README.zh-CN.md
.Memcached
is mis-spelled asMemcache
. Fixed in all languages.