mirror of
https://github.com/csehviktor/status-monitor.git
synced 2025-08-08 18:06:14 +02:00
replace config with example
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/target
|
||||
/_db
|
||||
/server/config.toml
|
||||
|
||||
24
server/config_example.toml
Normal file
24
server/config_example.toml
Normal file
@@ -0,0 +1,24 @@
|
||||
[storage]
|
||||
sqlite = false # if set to false, broker will use memory (not optimal for production)
|
||||
db_path = "_db/"
|
||||
|
||||
[mqtt]
|
||||
id = 0
|
||||
|
||||
[mqtt.router]
|
||||
id = 0
|
||||
max_connections = 10010
|
||||
max_outgoing_packet_count = 200
|
||||
max_segment_size = 104857600
|
||||
max_segment_count = 10
|
||||
|
||||
[mqtt.v4.1]
|
||||
name = "v4-1"
|
||||
listen = "0.0.0.0:1883"
|
||||
next_connection_delay_ms = 1
|
||||
|
||||
[mqtt.v4.1.connections]
|
||||
connection_timeout_ms = 60000
|
||||
max_payload_size = 20480
|
||||
max_inflight_count = 100
|
||||
dynamic_filters = true
|
||||
Reference in New Issue
Block a user