Update refresh interval for alerts in frontend

This commit is contained in:
Matteo Gheza 2023-10-23 15:35:56 +02:00
parent 7701edd0e1
commit a41c4e8610
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export class ModalAlertComponent implements OnInit, OnDestroy {
}
console.log("Refreshing responses data...");
this.loadResponsesData();
}, 2000);
}, 15000);
this.loadResponsesData();
}

View File

@ -58,7 +58,7 @@ export class AppComponent {
this.loadAlertsInterval = setInterval(() => {
console.log("Refreshing alerts...");
this.loadAlerts();
}, 15000);
}, 30000);
this.loadAlerts();
this.api.alertsChanged.subscribe(() => {