From c6ff80655b9282d2b440171ce1cda7d4a28c5a27 Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Wed, 24 Dec 2025 22:07:17 -0800 Subject: [PATCH] node: fix readiness waiting for next result instead of using latest --- node-health/src/readiness.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-health/src/readiness.ts b/node-health/src/readiness.ts index fe222ce..1423a1a 100644 --- a/node-health/src/readiness.ts +++ b/node-health/src/readiness.ts @@ -196,7 +196,7 @@ export class ScheduledReadiness { */ createHandler(): () => Promise { return async () => { - const result = await this.getNextResult(); + const result = this.getResult(); if (!result) { return new Response( JSON.stringify({