-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdefault.json
46 lines (39 loc) · 1.02 KB
/
default.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"arkivo": {
"controller": {
"autoclean": false, // Do not remove jobs after completion
"workers": 1, // The number of workers per queue
"listen": true, // Connect to the Zotero Stream API
"timeout": 1000, // Shutdown grace period
"delay": 5000, // Delay before sync on Stream API update
"attempts": 1, // Number of sync attempts (and retries on failure)
"backoff": "exponential" // Backoff type for retries
},
"listener": {
"ping": 45000, // The ping interval (keep-alive)
"pong": 20000 // The max time to wait for a pong
},
"http": {
"title": "Arkivo",
"port": 8888,
"api": "/api",
"timeout": 1000
},
"q": {
"prefix": "q"
},
"subscription": {
"prefix": "s"
},
"plugins": [
"./logger",
"./fs"
],
"redis": {
"port": 6379,
"host": "127.0.0.1",
"options": {
}
}
}
}