From b8a6fb35242ebf7d58068b43f6adc2b56b9926c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Fri, 8 Nov 2024 16:29:56 +0100 Subject: [PATCH] fix(scrapeURL/checkStatus): bad handling of f-e under load --- .../src/scraper/scrapeURL/engines/fire-engine/checkStatus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/scraper/scrapeURL/engines/fire-engine/checkStatus.ts b/apps/api/src/scraper/scrapeURL/engines/fire-engine/checkStatus.ts index 99a19da2..b895b4fb 100644 --- a/apps/api/src/scraper/scrapeURL/engines/fire-engine/checkStatus.ts +++ b/apps/api/src/scraper/scrapeURL/engines/fire-engine/checkStatus.ts @@ -38,7 +38,7 @@ export type FireEngineCheckStatusSuccess = z.infer; const processingSchema = z.object({ jobId: z.string(), - state: z.enum(["delayed", "active", "waiting", "waiting-children", "unknown"]), + state: z.enum(["delayed", "active", "waiting", "waiting-children", "unknown", "prioritized"]), processing: z.boolean(), });