forked from immesys/wavemq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
41 lines (35 loc) · 987 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
39
40
41
[WaveConfig]
database = "./data/wave"
listenIp = "127.0.0.1:7002"
# this is in general, unsafe, but if you want your router to function with
# no internet access, it is required
defaultToUnrevoked = true
[WaveConfig.storage]
# This is the default HTTPS server
[WaveConfig.storage.default]
provider = "http_v1"
url = "https://standalone.storage.bwave.io/v1"
version = "1"
[QueueConfig]
queueDataStore = "./data/queue"
# This is one day in seconds
queueExpiry = 86400
# 1000 items
subscriptionQueueMaxLength = 1000
# 100MB
subscriptionQueueMaxSize = 100
# 10k items
trunkingQueueMaxLength = 10000
# 1GB
trunkingQueueMaxSize = 1000
# 30 seconds
flushInterval = 30
[LocalConfig]
listenAddr = "127.0.0.1:7002"
[PeerConfig]
listenAddr = "127.0.0.1:7003"
[RoutingConfig]
PersistDataStore = "./data/persist"
[[RoutingConfig.Router]]
Namespace = "GyBzLKTkBE4a7tPqGjHMQ_VDgqSQRSVafAyUYcURg5scAg=="
Address = "127.0.0.1:7001"