debug, 8083
This commit is contained in:
parent
dccbee2905
commit
3c9c261081
|
@ -14,7 +14,7 @@
|
||||||
{error_logger_redirect, false},
|
{error_logger_redirect, false},
|
||||||
{crash_log, "log/emqtt_crash.log"},
|
{crash_log, "log/emqtt_crash.log"},
|
||||||
{handlers, [
|
{handlers, [
|
||||||
{lager_console_backend, info},
|
{lager_console_backend, debug},
|
||||||
{lager_file_backend, [
|
{lager_file_backend, [
|
||||||
{file, "log/emqtt_error.log"},
|
{file, "log/emqtt_error.log"},
|
||||||
{level, error},
|
{level, error},
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
{max_conns, 1024},
|
{max_conns, 1024},
|
||||||
{acceptor_pool, 4}
|
{acceptor_pool, 4}
|
||||||
]},
|
]},
|
||||||
{http, 8883, [
|
{http, 8083, [
|
||||||
{max_conns, 512},
|
{max_conns, 512},
|
||||||
{acceptor_pool, 1}
|
{acceptor_pool, 1}
|
||||||
]}
|
]}
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
mqtt_ipaddr=0.0.0.0
|
||||||
|
mqtt_port=1883
|
||||||
|
|
||||||
|
max_clientid_len=1024
|
||||||
|
|
||||||
|
|
||||||
|
#Max Connections
|
||||||
|
max_connections=10000
|
||||||
|
|
||||||
|
#Max MQTT Message Size
|
||||||
|
max_message_size=64k
|
||||||
|
|
||||||
|
#Network ingoing limit
|
||||||
|
rate_ingoing_limit=64kb/s
|
Loading…
Reference in New Issue