@peopl-health/nexus 5.56.30 → 5.56.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -197,7 +197,11 @@ async function sweepUnansweredInbound({
|
|
|
197
197
|
// Claimed before filing, like the replay branch above: a ticket filed without its marker is a
|
|
198
198
|
// ticket the next pass files again.
|
|
199
199
|
const ticket = await ticketGate.acquire(key, 'alerted');
|
|
200
|
-
if (ticket !== 'acquired') {
|
|
200
|
+
if (ticket !== 'acquired') {
|
|
201
|
+
skipped += 1;
|
|
202
|
+
if (ticket === 'unavailable') await claims.release(key);
|
|
203
|
+
continue;
|
|
204
|
+
}
|
|
201
205
|
|
|
202
206
|
logger.error('[inboundRecovery] patient was left unanswered', {
|
|
203
207
|
code, ageMs, recoveryLive: canRecover, reachable,
|