This commit is contained in:
syuilo 2022-02-09 03:48:14 +09:00
parent 7fcd9435f3
commit f9e4901543

View file

@ -6,7 +6,7 @@ import { activeUsersChart, driveChart, federationChart, hashtagChart, instanceCh
const logger = queueLogger.createSubLogger('clean-charts'); const logger = queueLogger.createSubLogger('clean-charts');
export async function cleanCharts(job: Bull.Job<Record<string, unknown>>, done: any): Promise<void> { export async function cleanCharts(job: Bull.Job<Record<string, unknown>>, done: any): Promise<void> {
logger.info(`Resync charts...`); logger.info(`Clean charts...`);
await Promise.all([ await Promise.all([
federationChart.clean(), federationChart.clean(),