From 5e4525a64ad0d3ce787d12e299f1558a41005a97 Mon Sep 17 00:00:00 2001 From: Chihab HAJJI Date: Wed, 20 Sep 2023 13:59:16 +0100 Subject: [PATCH] Update queues.md - fix JS logic --- content/techniques/queues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/techniques/queues.md b/content/techniques/queues.md index f2839819b3..3fe0e163eb 100644 --- a/content/techniques/queues.md +++ b/content/techniques/queues.md @@ -219,7 +219,7 @@ export class AudioConsumer { @Process() async transcode(job: Job) { let progress = 0; - for (i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { await doSomething(job.data); progress += 1; await job.progress(progress);