We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 427c994 commit 36757ddCopy full SHA for 36757dd
1 file changed
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -226,7 +226,10 @@ export class BaileysStartupService extends ChannelStartupService {
226
227
private authStateProvider: AuthStateProvider;
228
private readonly msgRetryCounterCache: CacheStore = new NodeCache();
229
- private readonly userDevicesCache: CacheStore = new NodeCache();
+ private readonly userDevicesCache: CacheStore = new NodeCache({
230
+ stdTTL: 300000,
231
+ useClones: false
232
+ });
233
private endSession = false;
234
private logBaileys = this.configService.get<Log>('LOG').BAILEYS;
235
0 commit comments