Update crawl-maps-index.ts

This commit is contained in:
Nicolas 2025-01-19 13:15:20 -03:00
parent 92b8d97be3
commit baa2f94765

View File

@ -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 {