forked from yongman/tidis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
45 lines (29 loc) · 833 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# sample configuration file for tidis
desc = "sample configuration for tidis"
[tidis]
listen = ":7379"
max_connection = 5000
#expiration checker
string_checker_loop = 10
string_checker_interval = 100000
list_checker_loop = 10
list_checker_interval = 100
hash_checker_loop = 10
hash_checker_interval = 100
set_checker_loop = 10
set_checker_interval = 100
zset_checker_loop = 10
zset_checker_interval = 100
# true is check ttl and delete if expired before read
# if you have few key to expire, please set it to false
ttl_checker_lazy = false
loglevel = "debug"
#transaction retry count when commit failed in case of conflict
txn_retry = 2
auth = ""
#namespace will be used as the key prefix, in case one tidis used by multiple apps
#TODO
namespace = ""
[backend]
#tikv placement driver addresses
pds = "127.0.0.1:2379"