Commit Graph

3554 Commits

Author SHA1 Message Date
turtleDeng 2ed5cb3b6a
Merge pull request #2601 from emqx/fix_2595
Fix #2595
2019-06-06 11:31:32 +08:00
turtled 1066f96877 Restart mnesia application 2019-06-06 11:30:45 +08:00
turtleDeng fddbc74d7b
Merge pull request #2600 from emqx/fix_log
Fix set log level fail
2019-06-06 11:28:08 +08:00
turtled ba027f39dd Fix set log level fail 2019-06-06 11:27:29 +08:00
turtleDeng 84bf926524
Merge pull request #2560 from emqx/hotfix_for_3_1
Fix lookup_session_pids return data type error
2019-06-06 11:20:56 +08:00
HeeeJianBo e2fa7f2877 Fix wrong default value for flapping_threshold 2019-06-05 11:42:07 +08:00
HeeeJianBo 4875384743 Fix lookup_session_pids return data type error 2019-05-22 16:41:45 +08:00
turtleDeng cb536acd4d
Merge pull request #2556 from emqx/hotfix-3.1
Hotfix for emqx_sn and emqx_coap plugin
2019-05-21 11:19:15 +08:00
Gilbert Wong 48bb5205b2 Add case clause for emqx_sn and emqx_coap plugin 2019-05-21 10:14:04 +08:00
Shawn 4b5cf1db62
Merge pull request #2517 from emqx/develop
Auto-pull-request-by-2019-05-08
2019-05-08 11:17:02 +08:00
tigercl 7e0ac5bd34
Fix bad config type of long_gc (#2504) 2019-05-08 10:19:49 +08:00
terry-xiaoyu 7b356e80f4 Rename varibles 2019-05-07 17:27:06 +08:00
terry-xiaoyu a1eb7ca7d2 Adapt max-heap-size to Arch-32 systems
The erlang:process_flag(max_heap_size, MaxHeapSize) can only set a MaxHeapSize of `small integer`, which is smaller than 2^59 on 64-bit systems, and 2^27 on 32-bit systems.
2019-05-07 17:27:06 +08:00
tigercl b4c659fb54 Add suboptions for stats (#2507) 2019-05-06 19:17:54 +08:00
terry-xiaoyu 0ea6697a57 Enlarge chars_limit to 8192 2019-05-05 21:28:59 +08:00
terry-xiaoyu 0a56fc236a Enable force_shutdown_policy by default #2494
Set default max-queue-len to 10000, and default max-heap-size to 1024MB.
2019-05-05 16:41:28 +08:00
turtled ea83d2087c Optimize log configuration 2019-05-05 14:35:43 +08:00
turtled 6dd09ef681 Optimize log configuration 2019-05-05 14:35:43 +08:00
turtleDeng 11dc9e74df
Merge pull request #2482 from emqx/develop
Auto-pull-request-by-2019-04-25
2019-04-25 16:31:56 +08:00
Gilbert Wong 3b0f232961 Workaround for dep-vsn-check in travis-ci 2019-04-25 16:25:28 +08:00
HeeeJianBo 281fb2d5ec Depend emqx_ct_helper with tag 2019-04-25 14:30:35 +08:00
turtled c5524e99c6 Rm emqx_rate_limiter module 2019-04-25 14:29:20 +08:00
Gilbert Wong b3927ff730 Add emqx_ct_helpers as deps and refactor test suites 2019-04-25 13:41:22 +08:00
Gilbert eaa1deab20 Refactor flapping code (#2476)
* Refactor flapping code
2019-04-24 10:42:26 +08:00
Shawn bce20f118e
Merge pull request #2460 from emqx/develop
Merge Develop to releases3.1
2019-04-19 16:51:19 +08:00
terry-xiaoyu a8d2497480 Truncate logs that is too long 2019-04-19 16:49:17 +08:00
Gilbert Wong bcbb4b68e9 Add flapping detect feature 2019-04-19 16:34:33 +08:00
Gilbert Wong 5680b191ee Extend status api 2019-04-18 14:12:06 +08:00
Gilbert 94aa173858 Fix bugs of keepalive value init of emqx_client (#2443)
Fix bugs of keepalive value init of emqx_client
2019-04-17 10:43:20 +08:00
spring2maz 8821cfcfc7 Fix typo round_robbin -> round_robin in emqx.schema 2019-04-17 10:24:48 +08:00
Gilbert 1f4d8483bf
Merge pull request #2429 from emqx/develop
Auto-pull-request-by-2019-04-14
2019-04-13 17:29:31 +08:00
Gilbert Wong f1616c33d9 Convert value of attribute table to map 2019-04-13 10:35:59 +08:00
Gilbert Wong 81ef5b9b8d Support cookie based auth 2019-04-12 19:25:22 +08:00
Gilbert Wong 4d2bc48822 Redesign ensure_start and ensure_stop api of bridge 2019-04-11 18:17:30 +08:00
Gilbert 4fc81cef85
Change log level unexpected info in client (#2422)
Change log level for unexpected info in client and rejust code format in emqx_bridge
2019-04-11 12:20:32 +08:00
周子博 6a4c318acb Update metrics when session process terminates 2019-04-11 10:08:26 +08:00
Shawn a53320069b Fix trace logger level not work (#2408)
* Fix trace logger level not work #2385
2019-04-10 09:14:53 +08:00
Gilbert Wong eb7b1797c2 Provide bridge handler to extense emqx_bridge 2019-04-09 19:03:07 +08:00
Gilbert Wong 627ea0afe8 Add `is_bridge_exist` api in emqx_bridge_sup 2019-04-09 11:40:36 +08:00
Gilbert Wong 8cfd080a97 Fix gen_statem:reply/2 bug in emqx_client module
Prior to this change, the arguments passed to gen_statem:reply is bad
args, first arg should be a tuple, but it is a pid. So it would
trigger crash.

This change fix this bug.
2019-04-08 11:50:28 +08:00
Gilbert e657b5e0cd
Merge pull request #2401 from emqx/develop
Auto-pull-request-by-2019-04-05
2019-04-04 17:44:48 +08:00
Gilbert Wong 7e6255d4ee Set default websocket idle timeout to 2 hour 2019-04-04 17:42:52 +08:00
Gilbert e917c025d0
Fix LOG on line 231 2019-04-04 17:38:36 +08:00
JianBo He aad2d7378e Put peername into messsage headers (#2390)
* Put peername into the message.heaers
2019-04-04 13:41:03 +08:00
Gilbert Wong 287c5582a9 Fix compilation warning 2019-04-03 20:49:45 +08:00
Gilbert Wong 15f8d3208f Fix message dropped
Prior to this change, when store_qos0 option is set to false, the hook
`message.dropped` would not be triggered. It is wrong design and when
the ignore_loop is enabled or nl is set to 1, the hook
`message.dropped` also would not be triggered.
2019-04-03 20:33:58 +08:00
Shawn 2306789755 Remove bin_key_map/1 (#2393)
* Remove bin_key_map/1

* Fix Travis-CI failure
2019-04-03 19:41:21 +08:00
spring2maz 55d2d1d278 Allow boolean flag for loaded plugins
This is to simplify config templating
2019-04-03 19:35:24 +08:00
Feng Lee 60c2b8bc08 Add more functions to read fields of 'message' record
- Add id/1, topic/1, from/1, payload/1 and timestamp/1 functions
- Improve the test cases
2019-04-02 15:15:13 +08:00
HeeeJianBo 2d2520627a Fix topic 'datatype' to 'datetime' 2019-04-01 11:37:22 +08:00