Feng Lee
05a5ad0f8c
Use '0MB' to configure size of force_shutdown_policy
2018-09-22 06:14:43 +08:00
Feng Lee
29787d8945
Use '0MB' to configure bytes of force_gc_policy
2018-09-22 06:08:53 +08:00
Feng Lee
ee7a7e2479
Fix typo
2018-09-22 06:05:29 +08:00
Feng Lee
33f9e895ad
Merge branch 'emqx30' into more-gc-enforcement-policies
2018-09-22 05:52:41 +08:00
Feng Lee
fbac9ce43e
Improve the foce_gc_policy config.
2018-09-22 05:42:38 +08:00
spring2maz
b61615323b
Move shutdown policy config to zone configs
2018-09-21 18:58:18 +02:00
spring2maz
f70d16e387
Add a test case to cover timeout message flush in emqx_misc
2018-09-21 18:58:18 +02:00
spring2maz
6fca651a84
Add connection/session shutdown policy
...
The hibernation behaviour is also changed (implicitly) in this commit:
Prior to this change, connection/session always hibernates after
the stats timer expires regardless of messages in mailbox.
After this commit, connection/session process only goes to hibernate
when the timer expires AND there is nothing left in the mailbox to
process
2018-09-21 18:58:18 +02:00
spring2maz
f9f09f66dd
Add new shutdown-policy config schemas
2018-09-21 18:58:18 +02:00
spring2maz
721f237bc4
Rewrite emqx_gc.erl
...
The implementation prior to this commit supports
only one gc enforcement policy which is message count threshold.
The new implementation introduces 1 more: volume threshold based
2018-09-21 22:56:34 +08:00
turtleDeng
98758752d4
Merge pull request #1839 from tigercl/emqx30
...
Calculate the 1.5 keep alive time exactly
2018-09-21 20:05:10 +08:00
terry-xiaoyu
389b3c80bc
Fix the message delivery to remote
2018-09-21 20:00:43 +08:00
周子博
ab2697671a
Change the location of the recording last packet timestamp
2018-09-21 19:59:32 +08:00
周子博
aade94711c
Use process dictionaries to record last packet timestamp
2018-09-21 18:50:26 +08:00
周子博
b1d4ec750a
Remove the same test cases as emqx_keepalive
2018-09-20 17:58:54 +08:00
周子博
2c350bf5fb
Match test case for last change
2018-09-20 17:19:21 +08:00
周子博
768d1786c7
Fix bug
2018-09-20 15:55:36 +08:00
周子博
073bf481c9
Calculate the 1.5 keep alive time exactly
2018-09-20 15:51:28 +08:00
tigercl
1256ce1500
Merge pull request #8 from emqx/emqx30
...
Emqx30
2018-09-20 15:15:11 +08:00
spring2maz
f58165db73
Move shutdown policy config to zone configs
2018-09-19 22:28:22 +02:00
spring2maz
f75a624197
Add a test case to cover timeout message flush in emqx_misc
2018-09-19 21:15:00 +02:00
spring2maz
25b61afe0d
Add connection/session shutdown policy
...
The hibernation behaviour is also changed (implicitly) in this commit:
Prior to this change, connection/session always hibernates after
the stats timer expires regardless of messages in mailbox.
After this commit, connection/session process only goes to hibernate
when the timer expires AND there is nothing left in the mailbox to
process
2018-09-19 21:14:56 +02:00
spring2maz
81d575c3c1
Add new shutdown-policy config schemas
2018-09-19 21:14:15 +02:00
spring2maz
e940c1c970
Rewrite emqx_gc.erl
...
The implementation prior to this commit supports
only one gc enforcement policy which is message count threshold.
The new implementation introduces 1 more: volume threshold based
2018-09-19 21:08:16 +02:00
HuangDan
3822ff987b
Fix function args
...
Add test cases for emqx_pool module
2018-09-18 09:15:46 +08:00
Feng Lee
ec061f7a21
Merge branch 'emqx30' of github.com:emqx/emqx into emqx30
2018-09-16 20:50:35 +08:00
Feng Lee
69e5869fa0
Add submit/2, async_submit/2 functions for emqx_pool module.
2018-09-16 20:49:47 +08:00
Michal-Drobniak
737dcff44e
Add space before plugins.etc_dir in emqx.conf
2018-09-14 19:13:43 +02:00
周子博
f5ed6ddb05
Change comments
2018-09-14 11:49:17 +08:00
周子博
5eb92e37cc
Remove check for MQTT path, and normalize code
2018-09-14 11:49:17 +08:00
周子博
5465b015be
Add test case for last change
2018-09-14 11:49:17 +08:00
周子博
6f536eaac4
Add customized mqtt path for websocket
2018-09-14 11:49:17 +08:00
周子博
0c6a268539
Set default value of message expiry interval for not mqtt 5.0 message
2018-09-14 11:49:17 +08:00
周子博
88b3460715
Add feature for issue#1809
2018-09-14 11:49:17 +08:00
周子博
49ed6f800c
Change comments
2018-09-14 11:40:57 +08:00
周子博
c7928235c3
Remove check for MQTT path, and normalize code
2018-09-14 11:29:38 +08:00
周子博
a38d357847
Add test case for last change
2018-09-14 10:40:16 +08:00
周子博
e33414aca1
Add customized mqtt path for websocket
2018-09-14 10:10:32 +08:00
Gilbert Wong
45b2686e1c
Delete unnecessary code
...
Prior to this change, there are multiple deprecated functions.
2018-09-14 09:45:34 +08:00
spring2maz
35d209f364
Fix travis build
2018-09-14 00:52:03 +08:00
HuangDan
fde6a2a4c3
Fixed issue #1811
...
Add tests case for issue #1811
2018-09-13 22:55:15 +08:00
周子博
713c43b833
Set default value of message expiry interval for not mqtt 5.0 message
2018-09-13 10:31:36 +08:00
spring2maz
8db9f3e81d
Update & clarify module doc for emqx_mqueue.erl
2018-09-13 09:08:07 +08:00
tigercl
2008e9d0a4
Merge pull request #7 from emqx/emqx30
...
emqx30
2018-09-12 15:20:24 +08:00
周子博
d29069a50d
Add feature for issue#1809
2018-09-12 15:17:18 +08:00
spring2maz
0c39a7620e
Rebar3 and erlang.mk dual support. ( #1806 )
...
* Rebar3 and erlang.mk dual support.
There was only erlang.mk support prior to this change.
The main reasons for this dual support are:
* Cover report upload can only be done by rebar3 in travis.ci
* We want to prepare for the future to build emqx releases using rebar3
* We do not want to stop supporting erlang.mk in one single step
* Add depencency version consistency check between erlang.mk and rebar.config
2018-09-09 21:51:42 +08:00
周子博
3caa41f751
Add run hook when duplicated subscription
2018-09-08 19:01:03 +08:00
周子博
5b47df1631
Add run hook when duplicated subscription
2018-09-08 18:59:57 +08:00
周子博
23c91c0a40
no message
2018-09-08 18:31:44 +08:00
周子博
40977e529a
Retain flag in retained message must set to 1
2018-09-08 18:31:44 +08:00