Ery Lee 11 лет назад
Родитель
Сommit
3c9c261081
2 измененных файлов с 16 добавлено и 2 удалено
  1. 2 2
      rel/files/app.config
  2. 14 0
      rel/files/emqtt.cfg

+ 2 - 2
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}
         ]}

+ 14 - 0
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