chore: More tracing cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { subDays } from "date-fns";
|
||||
import { Op } from "sequelize";
|
||||
import Logger from "@server/logging/logger";
|
||||
import { APM } from "@server/logging/tracing";
|
||||
import { FileOperation } from "@server/models";
|
||||
import BaseTask, { TaskPriority } from "./BaseTask";
|
||||
|
||||
@@ -9,9 +8,6 @@ type Props = {
|
||||
limit: number;
|
||||
};
|
||||
|
||||
@APM.trace({
|
||||
spanName: "task",
|
||||
})
|
||||
export default class CleanupExpiredFileOperationsTask extends BaseTask<Props> {
|
||||
public async perform({ limit }: Props) {
|
||||
Logger.info("task", `Expiring export file operations older than 30 days…`);
|
||||
|
||||
Reference in New Issue
Block a user