@periskope/baileys 7.0.0-alpha-28 → 7.0.0-alpha-29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,7 +19,7 @@ export const makeMessagesRecvSocket = (config) => {
|
|
|
19
19
|
// throttle: ensure no more than 1 ACK every 100ms
|
|
20
20
|
const ackMutex = makeMutex();
|
|
21
21
|
let lastAckSentAt = 0;
|
|
22
|
-
const ACK_MIN_INTERVAL_MS =
|
|
22
|
+
const ACK_MIN_INTERVAL_MS = 100;
|
|
23
23
|
const msgRetryCache = config.msgRetryCounterCache ||
|
|
24
24
|
new NodeCache({
|
|
25
25
|
stdTTL: DEFAULT_CACHE_TTLS.MSG_RETRY, // 1 hour
|