Update refresh interval for alerts in frontend
This commit is contained in:
parent
7701edd0e1
commit
a41c4e8610
|
@ -60,7 +60,7 @@ export class ModalAlertComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
console.log("Refreshing responses data...");
|
||||
this.loadResponsesData();
|
||||
}, 2000);
|
||||
}, 15000);
|
||||
this.loadResponsesData();
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ export class AppComponent {
|
|||
this.loadAlertsInterval = setInterval(() => {
|
||||
console.log("Refreshing alerts...");
|
||||
this.loadAlerts();
|
||||
}, 15000);
|
||||
}, 30000);
|
||||
this.loadAlerts();
|
||||
|
||||
this.api.alertsChanged.subscribe(() => {
|
||||
|
|
Loading…
Reference in New Issue