comparison Framework/Loaders/OracleScheduler.cpp @ 1472:474360793956

DicomResourcesLoader::Create()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jun 2020 16:26:57 +0200
parents c38c89684d83
children 121d01aa328e
comparison
equal deleted inserted replaced
1471:28c64c246312 1472:474360793956
461 totalScheduled_(0), 461 totalScheduled_(0),
462 totalProcessed_(0) 462 totalProcessed_(0)
463 { 463 {
464 assert(PRIORITY_HIGH < 0 && 464 assert(PRIORITY_HIGH < 0 &&
465 PRIORITY_LOW > 0); 465 PRIORITY_LOW > 0);
466 466
467 if (maxLowPriority <= 0) 467 if (maxLowPriority <= 0)
468 { 468 {
469 // There must be at least 1 lane available to deal with low-priority commands 469 // There must be at least 1 lane available to deal with low-priority commands
470 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); 470 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);
471 } 471 }