From 72bfa9dd305258789b0d2e80f8af13962e5aac42 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 10 Apr 2026 20:22:35 +0100 Subject: Return path of parked lines log file from parkQueuedLogLines Or the last errno on failure. --- src/ingestor.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index fcddc92..b2e0fed 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -54,7 +55,7 @@ namespace WebStat { void ingestLog(std::FILE *); void tryIngestQueuedLogLines(); void ingestLogLines(DB::Connection *, const LineBatch & lines); - void parkQueuedLogLines(); + std::expected parkQueuedLogLines(); void runJobsAsNeeded(); unsigned int jobIngestParkedLines(); -- cgit v1.3