comparison Core/JobsEngine/JobsRegistry.cpp @ 2583:1b6a6d80b6f2 jobs

OrthancPeerStoreJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 14 May 2018 20:43:16 +0200
parents 8da2cffc2378
children 140a539b4eba
comparison
equal deleted inserted replaced
2582:b3da733d984c 2583:1b6a6d80b6f2
771 LOG(WARNING) << "Cannot resubmit a job that has not failed: " << id; 771 LOG(WARNING) << "Cannot resubmit a job that has not failed: " << id;
772 return false; 772 return false;
773 } 773 }
774 else 774 else
775 { 775 {
776 found->second->GetJob().SignalResubmit();
777
776 bool ok = false; 778 bool ok = false;
777 for (CompletedJobs::iterator it = completedJobs_.begin(); 779 for (CompletedJobs::iterator it = completedJobs_.begin();
778 it != completedJobs_.end(); ++it) 780 it != completedJobs_.end(); ++it)
779 { 781 {
780 if (*it == found->second) 782 if (*it == found->second)