Closed tydavis closed 2 years ago
@abh - made both changes per your recommendations. Let me know if you have additional feedback.
Thanks @tydavis! I had two more comments (I forgot how GitHub works and put the comments on the commit, I hope it's not too confusing).
@abh the latest update:
main
on to the PR branchopen
such that it is now open-or-updateHas...
functions faster by storing active
as a boolean when opening the DBsNew
is calledwatchFiles
automatically opens databases if discovered at runtime.I have tested these operations locally and have verified each of my statements above. I look forward to your feedback.
I forgot that the get
function would load and error check getting the reader... now we check that the reader is active before querying
Thank you again for all this. The last days were busy; but I'll give it a look and get it merged soon!
@abh bumping this for review. 😄
It looks good, thank you again @tydavis! I've merged it and a couple of the pool.ntp.org servers are running the update now.
Add goroutine to watch file modification time each minute. Lock and update the files independently if the modification time is newer than the last time it was loaded.
Also ancillary fixes for type signatures, and formatting test files.
Fixes #116, #16