p2panda / aquadoggo

Node for the p2panda network handling validation, storage, aggregation and replication
GNU Affero General Public License v3.0
69 stars 5 forks source link

Make sure `/tmp` directory does not run out of scope before application ends #557

Closed adzialocha closed 1 year ago

adzialocha commented 1 year ago

Moves TempDir instance into global scope to make sure it stays there for the whole applications lifetime.

Closes: #556

📋 Checklist

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (9bbcd08) 92.46% compared to head (f8d6145) 92.46%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #557 +/- ## ============================================ Coverage 92.46% 92.46% ============================================ Files 106 106 Lines 18039 18039 ============================================ Hits 16680 16680 Misses 1359 1359 ``` [see 2 files with indirect coverage changes](https://app.codecov.io/gh/p2panda/aquadoggo/pull/557/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda)

:umbrella: View full report in Codecov by Sentry.

:loudspeaker: Have feedback on the report? Share it here.