Merge pull request #8256 from zhongwencool/float-to-number

fix: keepalive_backoff should be a number(int|float)
This commit is contained in:
zhongwencool 2022-06-17 14:20:34 +08:00 committed by GitHub
commit 8ba9198a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ fields("mqtt") ->
)}, )},
{"keepalive_backoff", {"keepalive_backoff",
sc( sc(
float(), number(),
#{ #{
default => 0.75, default => 0.75,
desc => ?DESC(mqtt_keepalive_backoff) desc => ?DESC(mqtt_keepalive_backoff)