From d34a59a53e74a07a30db2b19c7277949ccc9d0dd Mon Sep 17 00:00:00 2001 From: ChiTimesChi <88190723+ChiTimesChi@users.noreply.github.com> Date: Tue, 4 Feb 2025 16:20:22 +0000 Subject: [PATCH] feat: increse RFQ API timeouts [REVERT LATER] --- packages/sdk-router/src/rfq/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk-router/src/rfq/api.ts b/packages/sdk-router/src/rfq/api.ts index 12430eb74d..8e10ed0d4e 100644 --- a/packages/sdk-router/src/rfq/api.ts +++ b/packages/sdk-router/src/rfq/api.ts @@ -9,13 +9,13 @@ import { import { logger } from '../utils/logger' const API_URL = 'https://rfq-api-stage.omnirpc.io' -const API_TIMEOUT = 2000 +const API_TIMEOUT = 10000 /** * The expiration window for active quotes in milliseconds to be used by the RFQ API. * Relayers will have to respond with a quote within this time window. */ -const EXPIRATION_WINDOW = 1000 +const EXPIRATION_WINDOW = 5000 export type PutRFQRequestAPI = { // TODO: make integrator_id required