Commit Graph

7749 Commits

Author SHA1 Message Date
Feng Lee 7d65ad42ad Add '[{fullsweep_after, 10}]' opts and 'force_gc_count' to tune the memory usage 2017-02-23 16:56:16 +08:00
Feng Lee 124aa454fb Add 'mqtt.conn.force_gc_count' config to tune GC of MQTT connection 2017-02-23 16:53:47 +08:00
Feng Lee ab76e7978b Add emqttd_gc module 2017-02-23 16:53:09 +08:00
Feng Lee 2d9dbe4729 Support to hook 'tag' function 2017-02-23 11:55:52 +08:00
Feng 365bfb9e80 Replace emqttd_misc:inc_stats/1 with inc_stats/1 2017-02-22 23:08:22 +08:00
Feng 239cf1b5fc Add '{backoff, 1000, 1000, 10000}' to return of init/1 2017-02-22 23:07:27 +08:00
Feng b8084f2989 Remove inc_stats/1 function 2017-02-22 22:24:23 +08:00
Feng Lee 5d5de51f89 Change the gen_server:start_link to gen_server2 2017-02-22 18:47:14 +08:00
Feng Lee 5543b72243 Force to GC the Websocket Process 2017-02-22 18:41:02 +08:00
Feng Lee f955614f9d Remove the io:format line 2017-02-22 18:40:17 +08:00
Feng Lee 39abdb8b41 Remove 'enable_stats' from 'INFO_KEYS', and remove io:format line 2017-02-22 17:52:55 +08:00
Feng Lee 8e7ea09cbd Tune the mqtt.client|session.enable_stats off 2017-02-22 17:34:00 +08:00
Feng Lee 03e6c8b64c Version 2.1.0 2017-02-22 17:33:25 +08:00
Feng Lee 05e34fe783 Move the 'cuttlefish' library from TEST_DEPS to BUILD_DEPS 2017-02-22 16:19:49 +08:00
Feng Lee 7d16422d5c Require R19+ to build since 2.1 release 2017-02-22 15:56:12 +08:00
Feng Lee 88c2b4eaa3 Use the new emqttd_parser API to parse Websocket frame 2017-02-22 15:43:24 +08:00
Feng Lee b4936726fd Remove the random:seed/1 to fix the build warnings 2017-02-22 15:36:06 +08:00
Feng Lee 088adeda3b Fix issue #916 - add 'mqtt_msg_from()' type 2017-02-22 14:11:10 +08:00
Feng f4c4e5635c Improve the 'enable_stats' design of client, session 2017-02-22 12:10:52 +08:00
Feng 700ec7aaef Add 'proto_stats' record 2017-02-22 10:01:39 +08:00
Feng 6c50a59cad Rename macro 'MAX_PACKET_LEN' to 'MAX_PACKET_SIZE' 2017-02-22 00:32:22 +08:00
Feng 418fb37ca0 Add max_packet_size() type 2017-02-22 00:31:47 +08:00
Feng d33a41b28b Remove unused fields: connname, peerhost, peerport 2017-02-22 00:31:09 +08:00
Feng 62a0eaf65d Fix the test cases for emqttd_parser 2017-02-21 23:02:10 +08:00
Feng Lee 17953a4716 Rename 'MAX_LEN' to 'MAX_PACKET_LEN' 2017-02-21 20:11:09 +08:00
Feng Lee 4d2d6fa0d6 Change the default max_len to infinity 2017-02-21 20:10:38 +08:00
Feng Lee 7e98650233 Improve the emqttd_parser design 2017-02-21 20:10:17 +08:00
Feng Lee de12c58af0 Rename 'MAX_LEN' to 'MAX_PACKET_LEN' 2017-02-21 20:09:31 +08:00
Feng Lee 498915e5b3 Hibernate after a packet sent 2017-02-21 19:26:50 +08:00
Feng Lee d310fff532 Add 'lager_syslog' dependency 2017-02-21 18:46:44 +08:00
Feng Lee ff60578a7d Change the datatype of 'enable_stats' to 'flag' 2017-02-21 18:46:10 +08:00
Feng Lee 3cdf2377c8 Use gen_server2 to reduce the CPU/memory usage 2017-02-21 18:45:40 +08:00
Feng Lee b8fb73576e Merge branch 'master' into emq20 2017-02-21 16:24:13 +08:00
turtled 9468f71c2f create windows branch 2017-02-20 19:21:28 +08:00
Feng Lee cabd1af23a Hiberate after subscribe, unsubscribe and resume 2017-02-20 16:45:53 +08:00
Feng Lee e88c3f0761 Merge pull request #912 from emqtt/emq20
Support 'acl reload' CLI
2017-02-18 15:11:45 +08:00
Feng Lee 44ea90fa20 Merge pull request #911 from emqtt/develop
Fix #885 - support 'acl reload' cli
2017-02-18 15:09:55 +08:00
turtled a7ed2c402b fix #885 2017-02-18 15:03:41 +08:00
Feng Lee 79217fdade Remove the 'infinity' timeout 2017-02-18 14:14:24 +08:00
Feng Lee 858dc1a5af Merge pull request #909 from emqtt/emq20
Add emq_retainer, emq_modules plugins
2017-02-17 17:13:21 +08:00
huangdan 87d62970d3 Merge branch 'develop' of https://github.com/emqtt/emqttd into develop 2017-02-17 17:12:51 +08:00
huangdan 4a41d005cb Fix tests 2017-02-17 17:12:27 +08:00
Feng Lee 8f702babbe Add emq_retainer, emq_modules plugins 2017-02-17 16:56:04 +08:00
Feng Lee 49f06e83fe Merge pull request #908 from emqtt/develop
Add emq_retainer, emq_modules plugins
2017-02-17 16:54:05 +08:00
Feng Lee a5a94d2fb3 Merge pull request #905 from emqtt/emq20
Version 2.1 - Improve the design of Session and Inflight
2017-02-17 13:06:26 +08:00
Feng Lee 726f829df5 Fix the error caused by emqttd:env/1 2017-02-16 18:59:53 +08:00
Feng Lee 269cef2c1b Merge pull request #903 from emqtt/develop
Add lager syslog
2017-02-16 18:59:39 +08:00
turtled 5419266724 emqttd_hook -> emqttd_hooks, syslog 2017-02-16 18:33:57 +08:00
Feng Lee e385556364 Merge pull request #902 from emqtt/develop
Version 2.1 - Improve the design of session/inflight and update copyright
2017-02-16 14:15:23 +08:00
Feng Lee fde1f92bf2 Fix format of CT_SUITES 2017-02-16 11:49:59 +08:00