diff --git a/deployment/overlays/production/configmap.yaml b/deployment/overlays/production/configmap.yaml index f32a493a..00f87e4b 100644 --- a/deployment/overlays/production/configmap.yaml +++ b/deployment/overlays/production/configmap.yaml @@ -25,7 +25,7 @@ data: KUSAMA_NODE_URL: wss://kusama-rpc.polkadot.io LOG_LEVEL: info MAX_RESULTS_LIMIT: "20" - OFFCHAIN_REQ_TIMEOUT_SECS: "10" + OFFCHAIN_REQ_TIMEOUT_SECS: "60" OFFCHAIN_SERVER_PORT: "3001" OFFCHAIN_TELEGRAM_WS_PORT: "3020" OFFCHAIN_WS_PORT: "3011" diff --git a/deployment/overlays/staging/configmap.yaml b/deployment/overlays/staging/configmap.yaml index 0428bce7..6cfb86ec 100644 --- a/deployment/overlays/staging/configmap.yaml +++ b/deployment/overlays/staging/configmap.yaml @@ -25,7 +25,7 @@ data: KUSAMA_NODE_URL: wss://kusama-rpc.polkadot.io LOG_LEVEL: info MAX_RESULTS_LIMIT: "20" - OFFCHAIN_REQ_TIMEOUT_SECS: "10" + OFFCHAIN_REQ_TIMEOUT_SECS: "60" OFFCHAIN_SERVER_PORT: "3001" OFFCHAIN_TELEGRAM_WS_PORT: "3020" OFFCHAIN_WS_PORT: "3011" diff --git a/src/express-api/config.ts b/src/express-api/config.ts index eb647892..3cda024d 100644 --- a/src/express-api/config.ts +++ b/src/express-api/config.ts @@ -4,6 +4,6 @@ export const maxFileSizeBytes = parseInt(process.env.IPFS_MAX_FILE_SIZE_BYTES) | export const maxFileSizeMB = maxFileSizeBytes / MB -export const reqTimeoutSecs = process.env.OFFCHAIN_REQ_TIMEOUT_SECS || 10 +export const reqTimeoutSecs = process.env.OFFCHAIN_REQ_TIMEOUT_SECS || 60 export const allowedOrigins = process.env.CORS_ALLOWED_ORIGIN?.split(',').map(x => x.trim()) || ['http://localhost']