From 11c7e44267a7aefaaed6389d23d3e769bfeabb43 Mon Sep 17 00:00:00 2001 From: Nimer Farahty Date: Sun, 20 Apr 2025 02:13:23 +0300 Subject: [PATCH] remove waiting --- process-image.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/process-image.ts b/process-image.ts index 6411c19..6c515e9 100644 --- a/process-image.ts +++ b/process-image.ts @@ -1,7 +1,6 @@ import sharp from "sharp"; import { getMinioClient } from "./minio"; import { lookup } from "mime-types"; -import { sleepWithCountdown } from "./util"; export async function processImage( bucket: string, @@ -52,8 +51,6 @@ export async function processImage( } try { - await sleepWithCountdown(5); - // 🖼️ Create thumbnail const thumb = await sharp(buffer).resize(200).toBuffer(); await writeImage(`${filePath}/thumbs/${fileName}`, thumb, mime);