@realvare/based 2.6.253 → 2.6.255
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.
|
@@ -1074,7 +1074,7 @@ const makeMessagesRecvSocket = (config) => {
|
|
|
1074
1074
|
|
|
1075
1075
|
// Enhanced retry logic for stuck pending messages with anti-ban delays
|
|
1076
1076
|
ev.on('messages.update', (updates) => {
|
|
1077
|
-
const config = getPerformanceConfig();
|
|
1077
|
+
const config = (0, performance_config_1.getPerformanceConfig)();
|
|
1078
1078
|
updates.forEach(update => {
|
|
1079
1079
|
if (update.update.status === WAProto_1.proto.WebMessageInfo.Status.PENDING &&
|
|
1080
1080
|
Date.now() - (update.update.timestamp || 0) > 30000) { // 30 seconds
|