mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
set log level to debug
This commit is contained in:
parent
9b721da06d
commit
7aa05c26e9
@ -19,7 +19,7 @@ export async function getEmojiSize(url: string): Promise<Size> {
|
||||
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<Size> {
|
||||
}
|
||||
|
||||
try {
|
||||
logger.info(`Retrieving emoji size from ${url}`);
|
||||
logger.debug(`Retrieving emoji size from ${url}`);
|
||||
const { width, height, mime } = await probeImageSize(url, {
|
||||
timeout: 5000,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user