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);