ADSC-Cloud / Waterwheel

Waterwheel is a distributed append-only store supporting millions insertions per second and realtime temporal and key range query
14 stars 9 forks source link

Fix a few alerts from LGTM.com #93

Closed robertbrignull closed 3 years ago

robertbrignull commented 5 years ago

This PR fixes a few alerts flagged up by LGTM.com. These are ones where I could quickly tell what was going on and what to do, but with your knowledge you would be able to make so much more of them.

Most of the other alerts look correct and worth fixing, but I think it would be a lot easier for you to address these as you know what's going on in the codebase. Full disclosure, I do work at the company that makes LGTM.com. What this means is that I've raised an issue internally for the "potential input resource leak" which seems to have a few false positives on your project, so in the future the results will hopefully be even better.