diff --git a/src/core/config/WebJSEngineConfigService.ts b/src/core/config/WebJSEngineConfigService.ts index 391d8548..f2fab57c 100644 --- a/src/core/config/WebJSEngineConfigService.ts +++ b/src/core/config/WebJSEngineConfigService.ts @@ -24,7 +24,7 @@ export class WebJSEngineConfigService { getCacheType(): 'local' | 'none' { const cacheType = this.configService - .get('WAHA_WEBJS_CACHE_TYPE', 'local') + .get('WAHA_WEBJS_CACHE_TYPE', 'none') .toLowerCase(); if (cacheType != 'local' && cacheType != 'none') { throw new Error( diff --git a/src/core/engines/webjs/session.webjs.core.ts b/src/core/engines/webjs/session.webjs.core.ts index 35567b6d..ecdaa0e6 100644 --- a/src/core/engines/webjs/session.webjs.core.ts +++ b/src/core/engines/webjs/session.webjs.core.ts @@ -144,7 +144,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession { const path = this.getClassDirName(); const webVersion = this.engineConfig?.webVersion || '2.3000.1018072227-alpha'; - const cacheType = this.engineConfig?.cacheType || 'local'; + const cacheType = this.engineConfig?.cacheType || 'none'; this.logger.info(`Using cache type: '${cacheType}'`); if (cacheType === 'local') { this.logger.info(`Using web version: '${webVersion}'`);