From 0e768a00fab74818533458b5b40c84556b2137e0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 1 May 2026 16:58:01 +0100 Subject: Append unparked lines to queue in finalise function Fixes issue where queuedLines would be accessed from background thread. --- src/ingestor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index 4882b7d..4373f40 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -114,8 +114,8 @@ namespace WebStat { 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); + LineBatch jobIngestParkedLines(const std::filesystem::path &); + LineBatch jobIngestParkedLines(FILE *, size_t count); static void sigtermHandler(int); void terminate(int); -- cgit v1.3