Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

chore(engine): tidy two adapter comment prefixes

Yudhi Armyndharisbd980d288557
diff --git a/src/engine/adapters/baileys-chat-state-store.service.ts b/src/engine/adapters/baileys-chat-state-store.service.ts
index 0ede30d7a..6015808ee 100644
--- a/src/engine/adapters/baileys-chat-state-store.service.ts
+++ b/src/engine/adapters/baileys-chat-state-store.service.ts
@@ -25,7 +25,7 @@ export interface ChatStateStore {
const DEFAULT_STATE: ChatStateValue = { muteEndTime: null, archived: false, pinned: false };
const SEP = '\u0000'; // a null byte never appears in a session name or JID, so the join cannot collide
-// ponytail: one global LRU across all sessions, default 5000, matching the other engine maps. A
+// One global LRU across all sessions, default 5000, matching the other engine maps. A
// many-session deployment with large chat lists should raise BAILEYS_CHAT_STATE_CACHE_MAX; an evicted
// row stays persisted and both paths read-through on a miss (the read warms lazily, the write merges
// the patch onto the persisted row), so eviction costs a re-read, never data loss.
diff --git a/src/engine/adapters/wwebjs-contacts.ts b/src/engine/adapters/wwebjs-contacts.ts
index 7a15e5b46..abb81fa81 100644
--- a/src/engine/adapters/wwebjs-contacts.ts
+++ b/src/engine/adapters/wwebjs-contacts.ts
@@ -59,7 +59,7 @@ export async function readLeanContacts(): Promise<LeanContact[]> {
isMyContact: m.isMyContact,
isBlocked: m.isBlocked,
});
- // ponytail: yield every 256 contacts so the getState() liveness probe can interleave (#1501);
+ // Yield every 256 contacts so the getState() liveness probe can interleave (#1501);
// raise the stride if the read ever gets too chatty on a very large address book.
if ((i & 0xff) === 0xff) await new Promise(resolve => setTimeout(resolve));
}