skip unstable study

This commit is contained in:
Dr Masroor Ehsan 2025-01-23 14:52:44 +06:00
parent 4b087124b2
commit a8667bd41d

View File

@ -42,6 +42,7 @@ private function checkUpdate(string $orthanc_uuid, StudiesSync $sync, Collection
} }
if ($study_status < StudyLevelStatus::Unassigned->value) { if ($study_status < StudyLevelStatus::Unassigned->value) {
// this is an "unstable" study. queue for update
$sync->getUpdateQueue()->add($orthanc_uuid); $sync->getUpdateQueue()->add($orthanc_uuid);
} }
} }