update all stats

This commit is contained in:
Benjamin Wilson 2025-02-26 00:18:25 -05:00
parent d8e087f720
commit 34a27d0f2f

View File

@ -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() {