diff --git a/packages/backend/src/misc/emoji-meta.ts b/packages/backend/src/misc/emoji-meta.ts index 0d385f72b..3bcc4262b 100644 --- a/packages/backend/src/misc/emoji-meta.ts +++ b/packages/backend/src/misc/emoji-meta.ts @@ -19,7 +19,7 @@ export async function getEmojiSize(url: string): Promise { await lock.acquire(); try { const key = `getEmojiSize:${url}`; - attempted = await redisClient.get(key) !== null; + attempted = (await redisClient.get(key)) !== null; if (!attempted) { await redisClient.set(key, "done", "EX", 60 * 10); } @@ -33,7 +33,7 @@ export async function getEmojiSize(url: string): Promise { } try { - logger.info(`Retrieving emoji size from ${url}`); + logger.debug(`Retrieving emoji size from ${url}`); const { width, height, mime } = await probeImageSize(url, { timeout: 5000, });