style: make static_checks happy

This commit is contained in:
JimMoen 2023-06-07 23:06:47 +08:00
parent 4ea3483083
commit 7d073c0d3d
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
1 changed files with 2 additions and 4 deletions

View File

@ -976,15 +976,13 @@ fields_tcp_opts_nodelay.label:
"""TCP_NODELAY"""
fields_tcp_opts_keepalive.desc:
"""
Enable TCP keepalive for MQTT connections over TCP or SSL.
"""Enable TCP keepalive for MQTT connections over TCP or SSL.
The value is three comma separated numbers in the format of 'Idle,Interval,Probes'
- Idle: The number of seconds a connection needs to be idle before the server begins to send out keep-alive probes (Linux default 7200).
- Interval: The number of seconds between TCP keep-alive probes (Linux default 75).
- Probes: The maximum number of TCP keep-alive probes to send before giving up and killing the connection if no response is obtained from the other end (Linux default 9).
For example "240,30,5" means: EMQX should start sending TCP keepalive probes after the connection is in idle for 240 seconds, and the probes are sent every 30 seconds until a response is received from the MQTT client, if it misses 5 consecutive responses, EMQX should close the connection.
Default: 'none'
"""
Default: 'none'"""
fields_tcp_opts_keepalive.label:
"""TCP keepalive options"""