-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.example.ron
69 lines (69 loc) · 2.23 KB
/
config.example.ron
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
(
version: 3,
config: (
websocket_address: "localhost:8081",
storage_config: (
keyspaces: [
(
name: "permanode",
data_centers: {
"USA": (
replication_factor: 2,
),
"Canada": (
replication_factor: 1,
),
},
),
],
listen_address: "localhost:8080",
thread_count: CoreMultiple(1),
reporter_count: 1,
local_datacenter: "datacenter1",
nodes: [
"localhost:9042",
],
partition_config: (
partition_count: 1000,
milestone_chunk_size: 8640,
),
),
api_config: (),
broker_config: (
websocket_address: "localhost:9000",
mqtt_brokers: {
MessagesReferenced: [
"tcp://api.hornet-1.testnet.chrysalis2.com:1883",
"tcp://api.hornet-0.testnet.chrysalis2.com:1883",
],
Messages: [
"tcp://api.hornet-1.testnet.chrysalis2.com:1883",
"tcp://api.hornet-0.testnet.chrysalis2.com:1883",
"tcp://api.hornet-1.testnet.chrysalis2.com:1883",
],
},
mqtt_stream_capacity: 10000,
api_endpoints: [
"https://api.hornet-1.testnet.chrysalis2.com/api/v1",
"https://api.hornet-0.testnet.chrysalis2.com/api/v1",
],
retries_per_endpoint: 5,
retries_per_query: 100,
collector_count: 10,
requester_count: 10,
request_timeout_secs: 5,
parallelism: 25,
sync_range: Some((
from: 1,
to: 2147483647,
)),
complete_gaps_interval_secs: 3600,
logs_dir: Some("chronicle/logs/"),
max_log_size: Some(4294967296),
),
historical_config_path: "./historical_config",
alert_config: (
requests: [],
),
),
)