Explorar el Código

Change the default max_len to infinity

Feng Lee hace 9 años
padre
commit
4d2d6fa0d6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/emqttd_mqueue.erl

+ 1 - 1
src/emqttd_mqueue.erl

@@ -76,7 +76,7 @@
                  %% priority table
                  pseq = 0, priorities = [],
                  %% len of simple queue
-                 len = 0, max_len = ?MAX_LEN,
+                 len = 0, max_len = infinity,
                  low_wm = ?LOW_WM, high_wm = ?HIGH_WM,
                  qos0 = false, dropped = 0,
                  alarm_fun}).