aumenta el tiempo de espera al fetchAllGroups hasta algo más de 5 minutos a ver si el problema es ese u otro

main
borja 3 months ago
parent ae8e3fad2b
commit 7c8143d9c3

@ -70,7 +70,7 @@ export class GroupSyncService {
if (!shouldSync && process.env.NODE_ENV !== 'test') {
const nextSyncIn = this.SYNC_INTERVAL_MS - timeSinceLastSync;
console.debug(`Next sync available in ${Math.round(nextSyncIn/1000)} seconds`);
console.debug(`Next sync available in ${Math.round(nextSyncIn / 1000)} seconds`);
}
return shouldSync;
@ -89,7 +89,7 @@ export class GroupSyncService {
headers: {
apikey: env.EVOLUTION_API_KEY,
},
timeout: 120000 // 120 second timeout
timeout: 320000 // 120 second timeout
});
if (!response.ok) {

Loading…
Cancel
Save