From db1ca28de36be37e07f7d4eb206adeb2480755ec Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Jan 2023 14:27:18 +0900 Subject: [PATCH] clean up --- .../backend/src/queue/processors/DeliverProcessorService.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/backend/src/queue/processors/DeliverProcessorService.ts b/packages/backend/src/queue/processors/DeliverProcessorService.ts index d62e1f643a..c5e4a66517 100644 --- a/packages/backend/src/queue/processors/DeliverProcessorService.ts +++ b/packages/backend/src/queue/processors/DeliverProcessorService.ts @@ -48,7 +48,6 @@ export class DeliverProcessorService { ) { this.logger = this.queueLoggerService.logger.createSubLogger('deliver'); this.suspendedHostsCache = new Cache(1000 * 60 * 60); - this.latest = null; } @bindThis @@ -76,10 +75,6 @@ export class DeliverProcessorService { } try { - if (this.latest !== (this.latest = JSON.stringify(job.data.content, null, 2))) { - this.logger.debug(`delivering ${this.latest}`); - } - await this.apRequestService.signedPost(job.data.user, job.data.to, job.data.content); // Update stats