From 917487a6de80bf5e81eebcdbbf48bcf9763262fa Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 1 May 2026 11:12:39 +0100 Subject: Explicitly wait for and finalize any running jobs on exit --- src/ingestor.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index 916f200..c57c16a 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -110,6 +110,8 @@ namespace WebStat { void handleCurlOperations(); void logStats() const; void clearStats(); + void finalizeJob(Job &, minutes freq, Job::LastRunTime::clock::time_point now); + void finishAllJobs(); void jobIngestParkedLines(const std::filesystem::path &); size_t jobIngestParkedLines(FILE *, size_t count); -- cgit v1.3