diff --git a/src/lib/postgres.mjs b/src/lib/postgres.mjs index 8b1917d..26f642a 100644 --- a/src/lib/postgres.mjs +++ b/src/lib/postgres.mjs @@ -4473,10 +4473,10 @@ export async function refreshQuoteOutcomes(pool, { eureAsset = null, now = Date.now(), submissionLimit = 1000, - inventoryLimit = 5000, + inventoryLimit = 50000, } = {}) { const safeSubmissionLimit = Math.max(1, Number(submissionLimit) || 1000); - const safeInventoryLimit = Math.max(1, Number(inventoryLimit) || 5000); + const safeInventoryLimit = Math.max(1, Number(inventoryLimit) || 50000); const submissionsResult = await pool.query( ` SELECT event_id, observed_at, ingested_at, quote_id, payload @@ -5193,7 +5193,7 @@ export async function refreshIntentRequestOutcomes(pool, { const safePreflightLimit = Math.max(1, Number(preflightLimit) || 100); const safeSubmissionLimit = Math.max(1, Number(submissionLimit) || 500); - const safeInventoryLimit = Math.max(1, Number(inventoryLimit) || 5000); + const safeInventoryLimit = Math.max(1, Number(inventoryLimit) || 50000); const preflightResult = await loadIntentRequestPreflightRefreshCandidates(pool, { limit: safePreflightLimit, });