Add config file for snapshots

next
Sayan Nandan 4 years ago
parent f9672558d3
commit 5b7f3aa6ab
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -0,0 +1,18 @@
[server]
host = "127.0.0.1" # The IP address to which you want TDB to bind to
port = 2003 # The port to which you want TDB to bind to
# Set `noart` to true if you want to disable terminal artwork
noart = false
[bgsave]
# Run `BGSAVE` `every` seconds. For example, setting this to 60 will cause BGSAVE to run
# after every 2 minutes
enabled = true
every = 120
[snapshot]
enabled = true # set to false to disable snapshots
# Create a snapshot every hour (1 hour = 60 minutes = 60 * 60 seconds = 3600 seconds)
every = 3600
# How many of the snapshots to keep
atmost = 4 # keep the four most recent snapshots

@ -15,6 +15,6 @@ noart = false
# This key is *OPTIONAL*, but will be required post 0.5.0
[bgsave]
# Run `BGSAVE` `every` seconds. For example, setting this to 60 will cause BGSAVE to run
# every 1 minute
# after every 2 minutes
enabled = true
every = 120
every = 120

Loading…
Cancel
Save