feat(olp): add default config

This commit is contained in:
William Yang 2021-10-04 16:15:49 +02:00
parent 4dc63b26a8
commit 370edac031
1 changed files with 27 additions and 0 deletions

View File

@ -833,6 +833,33 @@ force_shutdown {
max_heap_size = 32MB
}
overload_protection {
## React on system overload or not
## @doc overload_protection.enable
## ValueType: Boolean
## Default: false
enable = false
## Backoff delay in ms
## @doc overload_protection.backoff_delay
## ValueType: Integer
## Range: (0, infinity)
## Default: 1
backoff_delay = 1
## Backoff GC enabled
## @doc overload_protection.backoff_gc
## ValueType: Boolean
## Default: true
backoff_gc = true
## Backoff hibernation enabled
## @doc overload_protection.backoff_hibernation
## ValueType: Boolean
## Default: true
backoff_hibernation = true
}
force_gc {
## Force the MQTT connection process GC after this number of
## messages or bytes passed through.