Closed theferrit32 closed 2 years ago
This is ready to review.
clinvar-raw
processing code has 3 separate threads, one for consuming, one for processing, and one for producing, so getting the graceful shutdown to work was a little more complicated. Ended up using a watcher thread that checks on those 3 threads, and when they're all terminated, flips a boolean atom.
Another way to have done this is to lean more heavily on the mount
library.
This includes the combiner resume-from-snapshot functionality, and the graceful shutdown with PreStop http hook in both the combiner and raw code.