From db6b501691f8c2665e3f66d1a5f0bd4c9f931a00 Mon Sep 17 00:00:00 2001 From: huangdan Date: Sat, 27 May 2017 11:21:09 +0800 Subject: [PATCH 1/2] Update the default value of 'mqtt.mqueue.max_length' to 1000 --- etc/emq.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/emq.conf b/etc/emq.conf index 1b78c9ae4..e0315609c 100644 --- a/etc/emq.conf +++ b/etc/emq.conf @@ -191,7 +191,7 @@ mqtt.mqueue.type = simple ## Max queue length. Enqueued messages when persistent client disconnected, ## or inflight window is full. 0 means no limit. -mqtt.mqueue.max_length = 0 +mqtt.mqueue.max_length = 1000 ## Low-water mark of queued messages mqtt.mqueue.low_watermark = 20% From 034f39e81101130a5e7f219af23988690017e65f Mon Sep 17 00:00:00 2001 From: huangdan Date: Mon, 5 Jun 2017 10:38:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?Add=20=E2=80=98Compiled=20with=20option=20d?= =?UTF-8?q?ebug=5Finfo=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index abd416178..5841ef611 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ dep_pbkdf2 = git https://github.com/emqtt/pbkdf2 2.0.1 dep_lager_syslog = git https://github.com/basho/lager_syslog dep_bcrypt = git https://github.com/smarkets/erlang-bcrypt master +ERLC_OPTS += +debug_info ERLC_OPTS += +'{parse_transform, lager_transform}' NO_AUTOPATCH = cuttlefish