Clean logs from console.time (#9620)
As title. We do not need those anymore.
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user