-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathEXAMPLE_NODE_CONFIG.toml
91 lines (79 loc) · 2.05 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[rpc_server.main_server]
enable_server = true
address = "0.0.0.0:7777"
qps_limit = 100
max_body_bytes = 2621440
cors_origin = ""
[rpc_server.speculative_exec_server]
enable_server = true
address = "0.0.0.0:7778"
qps_limit = 1
max_body_bytes = 2621440
cors_origin = ""
[rpc_server.node_client]
address = "3.20.57.210:7777"
max_message_size_bytes = 4194304
request_limit = 10
request_buffer_size = 50
message_timeout_secs = 60
client_access_timeout_secs = 60
[rpc_server.node_client.exponential_backoff]
initial_delay_ms = 1000
max_delay_ms = 32000
coefficient = 2
max_attempts = 30
[sse_server]
enable_server = true
disable_event_persistence = false
[[sse_server.connections]]
ip_address = "168.254.51.1"
sse_port = 9999
rest_port = 8888
max_attempts = 100
delay_between_retries_in_seconds = 10
allow_partial_connection = true
enable_logging = false
no_message_timeout_in_seconds = 20
sleep_between_keep_alive_checks_in_seconds = 10
[[sse_server.connections]]
ip_address = "168.254.51.2"
sse_port = 9999
rest_port = 8888
max_attempts = 100
delay_between_retries_in_seconds = 10
allow_partial_connection = false
enable_logging = false
no_message_timeout_in_seconds = 20
sleep_between_keep_alive_checks_in_seconds = 10
[[sse_server.connections]]
ip_address = "168.254.51.3"
sse_port = 9999
rest_port = 8888
max_attempts = 100
delay_between_retries_in_seconds = 10
allow_partial_connection = false
enable_logging = false
no_message_timeout_in_seconds = 20
sleep_between_keep_alive_checks_in_seconds = 10
[sse_server.event_stream_server]
port = 19999
max_concurrent_subscribers = 100
event_stream_buffer_length = 5000
[storage]
storage_folder = "/var/lib/casper-sidecar"
[storage.sqlite_config]
enabled = true
file_name = "sqlite_database.db3"
max_connections_in_pool = 100
# https://www.sqlite.org/compile.html#default_wal_autocheckpoint
wal_autocheckpointing_interval = 1000
[rest_api_server]
enable_server = true
port = 18888
max_concurrent_requests = 50
max_requests_per_second = 50
[admin_api_server]
enable_server = true
port = 18887
max_concurrent_requests = 1
max_requests_per_second = 1