-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
38 lines (33 loc) · 890 Bytes
/
config.toml
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
[metrics]
# Exposes Prometheus metrics
go_process = true
# API server
[service]
# Host and port
address = ":5001"
# Geth API endpoints
[chain]
graphql_endpoint = ""
ws_endpoint = ""
rpc_endpoint = ""
testnet = true
registry_address = ""
# Syncer configs
[syncer]
# Maximum number of missing blocks pushed into the worker queue every janitor sweep
janitor_queue_size = 250
# Number of goroutines assigned to the worker pool
janitor_concurrency = 3
# Syncer start block
initial_lower_bound = ""
# Janitor sweep interval, should take into account concurrency and queue_size
janitor_sweep_interval = 10
[postgres]
dsn = ""
# https://docs.nats.io/
[jetstream]
endpoint = ""
# Duration JetStream should keep the message before GC
persist_duration_hrs = 48
# Duration to ignore duplicate transactions (e.g. due to restart)
dedup_duration_hrs = 6