Просмотр исходного кода

{idle_timeout, 30} and {subscription, true}

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

+ 3 - 3
rel/files/emqttd.config.production

@@ -76,7 +76,7 @@
         %% Client
         {client, [
             %% Socket is connected, but no 'CONNECT' packet received
-            {idle_timeout, 20} %% seconds
+            {idle_timeout, 30} %% seconds
         ]},
         %% Session
         {session, [
@@ -144,8 +144,8 @@
             %% Default should be scheduler numbers
             {pool_size, 8},
 
-            %% Subscription: ram | false
-            {subscription, ram},
+            %% Store Subscription: true | false
+            {subscription, true},
 
             %% Route aging time(seconds)
             {route_aging, 5}