mysteriumnetwork / node

Mysterium Network Node - official implementation of distributed VPN network (dVPN) protocol
https://mysterium.network
GNU General Public License v3.0
1.1k stars 314 forks source link

Add more timeouts to endless contexts #6029

Closed soffokl closed 5 months ago

soffokl commented 5 months ago

This pull request adds timeouts to the endless contexts in the alignWithHermes and recoverGrandTotalPromised functions to prevent potential resource leaks.

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 37.93%. Comparing base (4a517cd) to head (1882dab). Report is 42 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6029 +/- ## ========================================== + Coverage 37.90% 37.93% +0.02% ========================================== Files 371 371 Lines 20665 20699 +34 ========================================== + Hits 7833 7852 +19 - Misses 12054 12063 +9 - Partials 778 784 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.