Clean logs from console.time (#9620)

As title. We do not need those anymore.
This commit is contained in:
Thomas Trompette
2025-01-14 18:32:54 +01:00
committed by GitHub
parent 42ddc09f74
commit 9360a6b1de
11 changed files with 0 additions and 64 deletions

View File

@ -41,8 +41,6 @@ export class CalendarEventListFetchCronJob {
CALENDAR_EVENT_LIST_FETCH_CRON_PATTERN,
)
async handle(): Promise<void> {
console.time('CalendarEventListFetchCronJob time');
const activeWorkspaces = await this.workspaceRepository.find({
where: {
activationStatus: WorkspaceActivationStatus.ACTIVE,
@ -84,7 +82,5 @@ export class CalendarEventListFetchCronJob {
});
}
}
console.timeEnd('CalendarEventListFetchCronJob time');
}
}

View File

@ -39,8 +39,6 @@ export class CalendarEventsImportCronJob {
CALENDAR_EVENTS_IMPORT_CRON_PATTERN,
)
async handle(): Promise<void> {
console.time('CalendarEventsImportCronJob time');
const activeWorkspaces = await this.workspaceRepository.find({
where: {
activationStatus: WorkspaceActivationStatus.ACTIVE,
@ -81,7 +79,5 @@ export class CalendarEventsImportCronJob {
});
}
}
console.timeEnd('CalendarEventsImportCronJob time');
}
}

View File

@ -28,8 +28,6 @@ export class CalendarEventListFetchJob {
@Process(CalendarEventListFetchJob.name)
async handle(data: CalendarEventListFetchJobData): Promise<void> {
console.time('CalendarEventListFetchJob time');
const { workspaceId, calendarChannelId } = data;
const calendarChannelRepository =
@ -83,6 +81,5 @@ export class CalendarEventListFetchJob {
default:
break;
}
console.timeEnd('CalendarEventListFetchJob time');
}
}

View File

@ -28,8 +28,6 @@ export class CalendarEventsImportJob {
@Process(CalendarEventsImportJob.name)
async handle(data: CalendarEventsImportJobData): Promise<void> {
console.time('CalendarEventsImportJob time');
const { calendarChannelId, workspaceId } = data;
const calendarChannelRepository =
@ -69,7 +67,5 @@ export class CalendarEventsImportJob {
calendarChannel.connectedAccount,
workspaceId,
);
console.timeEnd('CalendarEventsImportJob time');
}
}