-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
44 lines (44 loc) · 896 Bytes
/
Copy pathconfig.example.json
File metadata and controls
44 lines (44 loc) · 896 Bytes
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
{
"listen": ":7863",
"api_key": "your-api-key-here",
"auth_dir": "./auths",
"state_file": "./data/state.json",
"cooldown": {
"soft_rate": "60s"
},
"schedule": {
"checkin_hours": [9, 21],
"keepalive_hours": [22],
"checkin_enabled": true,
"keepalive_enabled": true
},
"upstream": {
"timeout_seconds": 120,
"header_timeout_seconds": 120,
"idle_timeout_seconds": 300
},
"codearts": {
"enabled": true,
"refresh_interval_seconds": 60
},
"features": {
"sanitize_blacklist_fingerprints": true
},
"upstash": {
"url": "",
"token": ""
},
"pool": {
"max_in_flight": 3,
"breaker_threshold": 3,
"breaker_cooldown": "30m",
"breaker_cooldown_max": "6h",
"idle_weight_per_hour": 0.5,
"idle_weight_max": 5.0
},
"session_sticky": {
"enabled": true,
"ttl": "30m",
"gc_interval": "5m"
}
}