-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
32 lines (32 loc) · 842 Bytes
/
config.json
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
{
"listenPort": 3000,
"serverTimeout": 10,
"serverExclusionTime": 100000,
"maxRetryCount": 3,
"debug": true,
"cacheTimeout": 10,
"serverList": [
"http://localhost:3100",
"http://localhost:3200",
"http://localhost:3300",
"http://localhost:3400",
"http://localhost:3500"
],
"heartbeat":{
"executionInterval":10
},
"requests":[{
"url": "/asd",
"servers": ["http://localhost:3200",
"http://localhost:3300"]
},
{
"url": "/hello",
"servers": ["http://localhost:3100"]
},
{
"url": "/heavytask",
"servers": ["http://localhost:3500"]
}
]
}