From baa2f9476593bd31a90792bd9acd2a7273d14c7f Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 19 Jan 2025 13:15:20 -0300 Subject: [PATCH] Update crawl-maps-index.ts --- apps/api/src/services/indexing/crawl-maps-index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/services/indexing/crawl-maps-index.ts b/apps/api/src/services/indexing/crawl-maps-index.ts index 4cccd763..2687e814 100644 --- a/apps/api/src/services/indexing/crawl-maps-index.ts +++ b/apps/api/src/services/indexing/crawl-maps-index.ts @@ -8,8 +8,8 @@ import { redisConnection } from "../queue-service"; const BATCH_KEY = "crawl_maps_batch"; const BATCH_LOCK_KEY = "crawl_maps_batch_lock"; -const BATCH_SIZE = 10; -const BATCH_TIMEOUT = 10000; // 10 seconds +const BATCH_SIZE = 20; +const BATCH_TIMEOUT = 20000; // 10 seconds const LOCK_TIMEOUT = 30000; // 30 seconds interface CrawlMapOperation {