Merge pull request #1511 from emqtt/develop

Change the default sndbuf, rebuf options of internal MQTT TCP connections
This commit is contained in:
Feng Lee 2018-02-24 10:10:52 +08:00 committed by GitHub
commit f020b1185e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -704,7 +704,7 @@ listener.tcp.external.send_timeout_close = on
## Sets the 'buffer = max(sndbuf, recbuf)' if this option is enabled.
##
## Value: on | off
listener.tcp.external.tune_buffer = on
## listener.tcp.external.tune_buffer = off
## The TCP_NODELAY flag for MQTT connections. Small amounts of data are
## sent immediately if the option is enabled.
@ -783,28 +783,28 @@ listener.tcp.external.send_timeout_close = on
## See: listener.tcp.<name>.recbuf
##
## Value: Bytes
listener.tcp.internal.recbuf = 16KB
## listener.tcp.internal.recbuf = 16KB
## The TCP send buffer(os kernel) for internal MQTT connections.
##
## See: http://erlang.org/doc/man/inet.html
##
## Value: Bytes
listener.tcp.internal.sndbuf = 16KB
## listener.tcp.internal.sndbuf = 16KB
## The size of the user-level software buffer used by the driver.
##
## See: listener.tcp.<name>.buffer
##
## Value: Bytes
listener.tcp.internal.buffer = 16KB
## listener.tcp.internal.buffer = 16KB
## Sets the 'buffer = max(sndbuf, recbuf)' if this option is enabled.
##
## See: listener.tcp.<name>.tune_buffer
##
## Value: on | off
listener.tcp.internal.tune_buffer = on
## listener.tcp.internal.tune_buffer = off
## The TCP_NODELAY flag for internal MQTT connections.
##
@ -1038,7 +1038,7 @@ listener.ssl.external.certfile = {{ platform_etc_dir }}/certs/cert.pem
## See: listener.tcp.<name>.tune_buffer
##
## Value: on | off
## listener.ssl.external.tune_buffer = on
## listener.ssl.external.tune_buffer = off
## The TCP_NODELAY flag for SSL connections.
##
@ -1166,7 +1166,7 @@ listener.ws.external.send_timeout_close = on
## See: listener.tcp.<name>.tune_buffer
##
## Value: on | off
listener.ws.external.tune_buffer = on
## listener.ws.external.tune_buffer = off
## The TCP_NODELAY flag for external MQTT/WebSocket connections.
##