diff --git a/whatsapp-gateway/baileys-client.js b/whatsapp-gateway/baileys-client.js index 333bd44..a19918b 100644 --- a/whatsapp-gateway/baileys-client.js +++ b/whatsapp-gateway/baileys-client.js @@ -270,7 +270,7 @@ async function startSession(session_key, webhook_url) { printQRInTerminal: false, logger: logger, browser: ['Nabeh Gateway', 'Chrome', '120.0.0'], - syncFullHistory: true, // Enable full history sync + syncFullHistory: false, // Disabled to prevent connection timeouts // Message retry counter cache — tracks how many times each message // retry has been attempted, preventing infinite retry loops msgRetryCounterCache,