-
Notifications
You must be signed in to change notification settings - Fork 9
/
EXAMPLE_NODE_CONFIG.toml
50 lines (43 loc) · 1.06 KB
/
EXAMPLE_NODE_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
39
40
41
42
43
44
45
46
47
48
49
50
[[connections]]
ip_address = "127.0.0.1"
sse_port = 9999
rest_port = 8888
max_attempts = 10
delay_between_retries_in_seconds = 5
allow_partial_connection = false
enable_logging = true
[[connections]]
ip_address = "168.254.51.2"
sse_port = 9999
rest_port = 8888
max_attempts = 10
delay_between_retries_in_seconds = 5
allow_partial_connection = false
enable_logging = true
[[connections]]
ip_address = "168.254.51.3"
sse_port = 9999
rest_port = 8888
max_attempts = 10
delay_between_retries_in_seconds = 5
allow_partial_connection = false
enable_logging = true
[storage]
storage_path = "/var/lib/casper-event-sidecar"
[storage.sqlite_config]
file_name = "sqlite_database.db3"
max_connections_in_pool = 100
# https://www.sqlite.org/compile.html#default_wal_autocheckpoint
wal_autocheckpointing_interval = 1000
[rest_server]
port = 18888
max_concurrent_requests = 50
max_requests_per_second = 50
[event_stream_server]
port = 19999
max_concurrent_subscribers = 100
event_stream_buffer_length = 5000
[admin_server]
port = 18887
max_concurrent_requests = 1
max_requests_per_second = 1