mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-04-14 14:59:33 +02:00
update all stats
This commit is contained in:
parent
d8e087f720
commit
34a27d0f2f
@ -42,12 +42,6 @@ export class AppService implements OnModuleInit {
|
||||
await this.updateChart();
|
||||
}, 1000 * 60 * 10);
|
||||
|
||||
setInterval(async () => {
|
||||
console.log('Bulk update client stats');
|
||||
await this.clientStatisticsService.doBulkAsyncUpdate();
|
||||
}, 1000 * 60 * 1);
|
||||
|
||||
|
||||
setInterval(async () => {
|
||||
console.log('Refreshing user agent report view')
|
||||
await this.userAgentReportService.refreshReport();
|
||||
@ -56,6 +50,12 @@ export class AppService implements OnModuleInit {
|
||||
|
||||
}
|
||||
|
||||
setInterval(async () => {
|
||||
console.log('Bulk update client stats');
|
||||
await this.clientStatisticsService.doBulkAsyncUpdate();
|
||||
}, 1000 * 60 * 1);
|
||||
|
||||
|
||||
}
|
||||
|
||||
private async deleteOldStatistics() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user