-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
52 lines (40 loc) · 1.37 KB
/
config.example.toml
File metadata and controls
52 lines (40 loc) · 1.37 KB
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
47
48
49
50
51
52
# Vixy Configuration Example
# Copy this file to config.toml and edit the node URLs
[global]
# Maximum lag (in blocks) before an EL node is considered unhealthy
max_el_lag_blocks = 5
# Maximum lag (in slots) before a CL node is considered unhealthy
max_cl_lag_slots = 3
# How often to check node health (in milliseconds)
health_check_interval_ms = 1000
# Timeout for proxy requests (in milliseconds)
proxy_timeout_ms = 30000
# Maximum number of retry attempts for failed proxy requests
max_retries = 2
# Number of consecutive health check failures before marking node as unhealthy
# This prevents transient failures from immediately marking a node as unhealthy
health_check_max_failures = 3
# Maximum request body size in bytes (default: unlimited)
# Uncomment to limit request body size, e.g. 10 MB:
# max_body_size = 10485760
[metrics]
# Enable or disable Prometheus metrics
enabled = true
# Optional: serve metrics on a separate port
# If not set, metrics are served on the main server at /metrics
# port = 9090
[el]
# Primary EL nodes - used by default
[[el.primary]]
name = "geth-primary"
http_url = "http://localhost:8545"
ws_url = "ws://localhost:8546"
# Backup EL nodes - used when all primary nodes are unhealthy
[[el.backup]]
name = "geth-backup"
http_url = "http://localhost:18545"
ws_url = "ws://localhost:18546"
# CL nodes
[[cl]]
name = "lighthouse"
url = "http://localhost:5052"