diff --git a/rel/files/app.config b/rel/files/app.config index 3521665f8..95e306140 100644 --- a/rel/files/app.config +++ b/rel/files/app.config @@ -14,7 +14,7 @@ {error_logger_redirect, false}, {crash_log, "log/emqtt_crash.log"}, {handlers, [ - {lager_console_backend, info}, + {lager_console_backend, debug}, {lager_file_backend, [ {file, "log/emqtt_error.log"}, {level, error}, @@ -38,7 +38,7 @@ {max_conns, 1024}, {acceptor_pool, 4} ]}, - {http, 8883, [ + {http, 8083, [ {max_conns, 512}, {acceptor_pool, 1} ]} diff --git a/rel/files/emqtt.cfg b/rel/files/emqtt.cfg new file mode 100644 index 000000000..8b1d8dc3d --- /dev/null +++ b/rel/files/emqtt.cfg @@ -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