From 35622109552f7cebcdbed6643f8b976d7c01a325 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 9 Mar 2019 10:10:24 +0900 Subject: [PATCH] Make info --- src/queue/processors/inbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/processors/inbox.ts b/src/queue/processors/inbox.ts index 0e5b271eb..436f3335c 100644 --- a/src/queue/processors/inbox.ts +++ b/src/queue/processors/inbox.ts @@ -48,7 +48,7 @@ export default async (job: Bull.Job): Promise => { // TODO: いちいちデータベースにアクセスするのはコスト高そうなのでどっかにキャッシュしておく const instance = await Instance.findOne({ host: host.toLowerCase() }); if (instance && instance.isBlocked) { - logger.warn(`Blocked request: ${host}`); + logger.info(`Blocked request: ${host}`); return; }