From 13b4adde61a00283580e6329916513c7f7a2bece Mon Sep 17 00:00:00 2001 From: paulo-ocean Date: Thu, 5 Dec 2024 15:59:07 +0000 Subject: [PATCH] fix usage of getBoolEnvValue --- src/utils/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/config.ts b/src/utils/config.ts index c96b4f3ff..17d4fc020 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -549,7 +549,7 @@ async function getEnvConfig(isStartup?: boolean): Promise { ), dhtMaxInboundStreams: getIntEnvValue(process.env.P2P_dhtMaxInboundStreams, 500), dhtMaxOutboundStreams: getIntEnvValue(process.env.P2P_dhtMaxOutboundStreams, 500), - enableDHTServer: getBoolEnvValue(process.env.P2P_ENABLE_DHT_SERVER, false), + enableDHTServer: getBoolEnvValue('P2P_ENABLE_DHT_SERVER', false), mDNSInterval: getIntEnvValue(process.env.P2P_mDNSInterval, 20e3), // 20 seconds connectionsMaxParallelDials: getIntEnvValue( process.env.P2P_connectionsMaxParallelDials, @@ -617,7 +617,7 @@ async function getEnvConfig(isStartup?: boolean): Promise { isStartup, knownUnsafeURLs ), - isBootstrap: getBoolEnvValue(process.env.IS_BOOTSTRAP, false) + isBootstrap: getBoolEnvValue('IS_BOOTSTRAP', false) } if (!previousConfiguration) {