diff options
| author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-05-01 11:12:39 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-05-01 11:12:39 +0100 |
| commit | 917487a6de80bf5e81eebcdbbf48bcf9763262fa (patch) | |
| tree | 55ea9a6ba7c8992968d6b24976d307ee56fb5591 /src/ingestor.hpp | |
| parent | 1c929e46d8e7b14a74f80a21b5f30c9abbee410f (diff) | |
| download | webstat-917487a6de80bf5e81eebcdbbf48bcf9763262fa.tar.bz2 webstat-917487a6de80bf5e81eebcdbbf48bcf9763262fa.tar.xz webstat-917487a6de80bf5e81eebcdbbf48bcf9763262fa.zip | |
Explicitly wait for and finalize any running jobs on exit
Diffstat (limited to 'src/ingestor.hpp')
| -rw-r--r-- | src/ingestor.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
