Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(scrapeURL/checkStatus): bad handling of f-e under load

Gergő Móriczb8a6fb35242e
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 99a19da2f..b895b4fba 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<typeof successSchema>;
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(),
});