fix: quitar bypass de rate limit en pruebas de GroupSync

Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
pull/1/head
borja 2 months ago
parent c306b2a762
commit e11978663d

@ -118,9 +118,6 @@ export class GroupSyncService {
} }
private static shouldSync(): boolean { private static shouldSync(): boolean {
// En entorno de test, no aplicar rate limit de sincronización
if (process.env.NODE_ENV === 'test') return true;
const timeSinceLastSync = Date.now() - this.lastSyncAttempt; const timeSinceLastSync = Date.now() - this.lastSyncAttempt;
const shouldSync = timeSinceLastSync > this.SYNC_INTERVAL_MS; const shouldSync = timeSinceLastSync > this.SYNC_INTERVAL_MS;

Loading…
Cancel
Save