Skip to content
Snippets Groups Projects
Unverified Commit 606e46e4 authored by syuilo's avatar syuilo
Browse files

Make info

parent a179cfd6
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ export default async (job: Bull.Job): Promise<void> => {
// TODO: いちいちデータベースにアクセスするのはコスト高そうなのでどっかにキャッシュしておく
const instance = await Instance.findOne({ host: host.toLowerCase() });
if (instance && instance.isBlocked) {
logger.warn(`Blocked request: ${host}`);
logger.info(`Blocked request: ${host}`);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment