This commit is contained in:
Dr Masroor Ehsan 2025-01-23 14:54:34 +06:00
parent 25729d169b
commit 379a6e6998

View File

@ -134,7 +134,8 @@ public function transformData(mixed $orthanc_src): array
{ {
$stable_study = (bool) data_get($orthanc_src, 'IsStable', false); $stable_study = (bool) data_get($orthanc_src, 'IsStable', false);
if (! $stable_study) { if (! $stable_study) {
// do not process unstable studies. wait for next sync when the study becomes stable // do not process unstable studies.
// defer till next sync when hopefully the study becomes stable
return []; return [];
} }