astarte-platform / astarte_vmq_plugin

Astarte VerneMQ plugin publishes incoming messages on an AMQP exchange with some additional metadata, so they can be processed by other components.
http://astarte-platform.org/
Apache License 2.0
16 stars 10 forks source link

Send periodic heartbeat for each connected device #16

Closed rbino closed 4 years ago

rbino commented 4 years ago

Send an heartbeat to refresh device connection state and to allow DUP to handle disconnections happened while VerneMQ was down.

Fix #13

Signed-off-by: Riccardo Binetti riccardo.binetti@ispirata.com

codecov[bot] commented 4 years ago

Codecov Report

Merging #16 into master will decrease coverage by 1.15%. The diff coverage is 70.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   76.00%   74.84%   -1.16%     
==========================================
  Files           8        8              
  Lines         150      163      +13     
==========================================
+ Hits          114      122       +8     
- Misses         36       41       +5     
Impacted Files Coverage Δ
lib/astarte_vmq_plugin.ex 84.21% <68.75%> (-6.91%) :arrow_down:
lib/astarte_vmq_plugin/config.ex 95.83% <100.00%> (+0.18%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98d1ce9...cc55ee7. Read the comment docs.