jembi / openhim-mediator-mapping

An OpenHIM mediator for mapping incoming content to a different format
https://jembi.github.io/openhim-mediator-mapping/
MIT License
3 stars 6 forks source link

OHIE-384 Reconnect Mongo #173

Closed michaelloosen closed 2 years ago

michaelloosen commented 2 years ago

Add reconnect logic for the mongo db connection

codecov[bot] commented 2 years ago

Codecov Report

Merging #173 (9d902bc) into master (82501df) will decrease coverage by 0.37%. The diff coverage is 78.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   97.15%   96.78%   -0.38%     
==========================================
  Files          21       21              
  Lines         950      964      +14     
==========================================
+ Hits          923      933      +10     
- Misses         27       31       +4     
Impacted Files Coverage Δ
src/db/index.js 84.37% <77.77%> (-10.37%) :arrow_down:
src/index.js 96.29% <100.00%> (+0.14%) :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 82501df...9d902bc. Read the comment docs.