From a4fbd98e203345059c58012d3569d18a4f64b6bb Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 25 Mar 2024 16:28:42 +0100 Subject: add a limit to the number of times we attempt to finalize (#22) - Improvement: Add limit to the number of times we attempt to finalize and exported oplog - Improvement: Switch to large thread pool when executing oplog export/import - Improvement: Clean up reporting of missing attachments in oplog export/import - Improvement: Remove double-reporting of abort reason for oplog export/import --- src/zencore/jobqueue.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/zencore/jobqueue.cpp') diff --git a/src/zencore/jobqueue.cpp b/src/zencore/jobqueue.cpp index e92817431..86c08cda9 100644 --- a/src/zencore/jobqueue.cpp +++ b/src/zencore/jobqueue.cpp @@ -363,7 +363,6 @@ public: { ZEN_DEBUG("Background job {}:'{}' aborted. Reason: '{}'", CurrentJob->Id.Id, CurrentJob->Name, Ex.what()); QueueLock.WithExclusiveLock([&]() { - CurrentJob->State.Messages.push_back(Ex.what()); CurrentJob->State.AbortReason = Ex.what(); CurrentJob->EndTick = JobClock::Now(); CurrentJob->WorkerThreadId = 0; -- cgit v1.2.3