From 5f047c4af6abd50d3abb210c5d2c3de4af5fca69 Mon Sep 17 00:00:00 2001 From: casulit Date: Thu, 31 Oct 2024 14:57:40 +0800 Subject: [PATCH] fix: Update SQL query to exclude unprocessed price_not_shown entries --- config/deno-kv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deno-kv.ts b/config/deno-kv.ts index f5bee56..613e293 100644 --- a/config/deno-kv.ts +++ b/config/deno-kv.ts @@ -138,7 +138,7 @@ export async function listenQueue(kv: Deno.Kv) { text: ` SELECT COUNT(*) FROM lamudi_raw_data - WHERE is_process = FALSE + WHERE is_process = FALSE AND price_not_shown_is_process = FALSE `, });