-
Notifications
You must be signed in to change notification settings - Fork 450
/
base.json.sample
29 lines (29 loc) · 1.12 KB
/
base.json.sample
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
{
"Web": "@extend:web.json",
"Node": "/cronsun/node/",
"Proc": "/cronsun/proc/",
"Cmd": "/cronsun/cmd/",
"Once": "/cronsun/once/",
"Csctl": "/cronsun/csctl/",
"Lock": "/cronsun/lock/",
"Group": "/cronsun/group/",
"Noticer": "/cronsun/noticer/",
"#Ttl": "节点超时时间,单位秒",
"Ttl": 10,
"#ReqTimeout": "etcd 请求超时时间,单位秒",
"ReqTimeout": 2,
"#ProcTtl": "执行中的任务信息过期时间,单位秒,0 为不过期",
"ProcTtl": 600,
"#ProcReq": "记录任务执行中的信息的执行时间阀值,单位秒,0 为不限制",
"ProcReq": 5,
"#LockTtl": "任务锁最大过期时间,单位秒,默认 600",
"LockTtl": 600,
"Etcd": "@extend:etcd.json",
"Mgo": "@extend:db.json",
"Mail": "@extend:mail.json",
"Security": "@extend:security.json",
"#comment": "PIDFile and UUIDFile just work for cronnode",
"#PIDFile": "Given a none-empty string to write a pid file to the specialed path, or leave it empty to do nothing",
"PIDFile": "/tmp/cronsun/cronnode_pid",
"UUIDFile": "/etc/cronsun/CRONSUN_UUID"
}