We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 383bac0 + 36757dd commit 341a0d8Copy full SHA for 341a0d8
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -230,7 +230,10 @@ export class BaileysStartupService extends ChannelStartupService {
230
231
private authStateProvider: AuthStateProvider;
232
private readonly msgRetryCounterCache: CacheStore = new NodeCache();
233
- private readonly userDevicesCache: CacheStore = new NodeCache();
+ private readonly userDevicesCache: CacheStore = new NodeCache({
234
+ stdTTL: 300000,
235
+ useClones: false
236
+ });
237
private endSession = false;
238
private logBaileys = this.configService.get<Log>('LOG').BAILEYS;
239
0 commit comments