summaryrefslogtreecommitdiff
path: root/src/queue/processors/object-storage/clean-remote-files.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2021-05-08 18:56:21 +0900
committerGitHub <noreply@github.com>2021-05-08 18:56:21 +0900
commit591a5c277cdf197f043e5b24743dbdb346e65c4f (patch)
treeb84126eec671a7a1f1172b472cd9143060357f00 /src/queue/processors/object-storage/clean-remote-files.ts
parentCreate get-index-stats.ts (diff)
downloadmisskey-591a5c277cdf197f043e5b24743dbdb346e65c4f.tar.gz
misskey-591a5c277cdf197f043e5b24743dbdb346e65c4f.tar.bz2
misskey-591a5c277cdf197f043e5b24743dbdb346e65c4f.zip
Add queue types (#7504)
Diffstat (limited to 'src/queue/processors/object-storage/clean-remote-files.ts')
-rw-r--r--src/queue/processors/object-storage/clean-remote-files.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/object-storage/clean-remote-files.ts b/src/queue/processors/object-storage/clean-remote-files.ts
index 7b34892e1f..a922755f4d 100644
--- a/src/queue/processors/object-storage/clean-remote-files.ts
+++ b/src/queue/processors/object-storage/clean-remote-files.ts
@@ -7,7 +7,7 @@ import { MoreThan, Not, IsNull } from 'typeorm';
const logger = queueLogger.createSubLogger('clean-remote-files');
-export default async function cleanRemoteFiles(job: Bull.Job, done: any): Promise<void> {
+export default async function cleanRemoteFiles(job: Bull.Job<{}>, done: any): Promise<void> {
logger.info(`Deleting cached remote files...`);
let deletedCount = 0;