aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/jobqueue.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-03-25 16:28:42 +0100
committerGitHub Enterprise <[email protected]>2024-03-25 16:28:42 +0100
commita4fbd98e203345059c58012d3569d18a4f64b6bb (patch)
tree92ffbaeb42e93b9afcc1d31044b5d0c3bf3632e6 /src/zencore/jobqueue.cpp
parentuse batch request for checking existing blocks as Jupiter is now fixed (#20) (diff)
downloadzen-a4fbd98e203345059c58012d3569d18a4f64b6bb.tar.xz
zen-a4fbd98e203345059c58012d3569d18a4f64b6bb.zip
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
Diffstat (limited to 'src/zencore/jobqueue.cpp')
-rw-r--r--src/zencore/jobqueue.cpp1
1 files changed, 0 insertions, 1 deletions
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;