Feng Lee 10 лет назад
Родитель
Сommit
e874c4fa39
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      rel/files/emqttd.config

+ 2 - 2
rel/files/emqttd.config

@@ -89,7 +89,7 @@
         {session, [
             %% Max number of QoS 1 and 2 messages that can be “in flight” at one time.
             %% 0 means no limit
-            {max_inflight, 100},
+            {max_inflight, 20},
 
             %% Max retries for unack Qos1/2 messages
             {unack_retries, 3},
@@ -114,7 +114,7 @@
         {queue, [
             %% Max queue length. enqueued messages when persistent client disconnected, 
             %% or inflight window is full.
-            {max_length, 1000},
+            {max_length, 100},
 
             %% Low-water mark of queued messsages
             {low_watermark, 0.2},