fix(timouts): Adjusting network timeout settings

This commit is contained in:
Chris Troutner
2026-03-12 12:45:33 -07:00
parent 8b2cf64f1b
commit f36cd2a8aa
5 changed files with 22 additions and 12 deletions
+5
View File
@@ -47,6 +47,11 @@ export default {
// Server port
port: parseInt(process.env.PORT, 10) || 5942,
// HTTP server connection lifecycle configuration.
serverKeepAliveTimeoutMs: Number(process.env.SERVER_KEEPALIVE_TIMEOUT_MS || 3000),
serverHeadersTimeoutMs: Number(process.env.SERVER_HEADERS_TIMEOUT_MS || 65000),
serverRequestTimeoutMs: Number(process.env.SERVER_REQUEST_TIMEOUT_MS || 120000),
// Environment
env: process.env.NODE_ENV || 'development',
+1 -1
View File
@@ -146,7 +146,7 @@ class FulcrumUseCases {
if (response.transactions && Array.isArray(response.transactions)) {
// Use bearer token from request if provided, otherwise use the default bchjs instance
let bchjsInstance = this.bchjs
// console.log('getTransactionsBulk() bearerToken: ', bearerToken)
if (bearerToken) {
// Create a temporary bchjs instance with the bearer token from the request