debug, 8083

This commit is contained in:
Ery Lee 2015-01-12 19:32:59 +08:00
parent dccbee2905
commit 3c9c261081
2 changed files with 16 additions and 2 deletions

View File

@ -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}
]}

14
rel/files/emqtt.cfg Normal file
View File

@ -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