From efcec5c06799a197f71d2894d2f5dea01289bdd3 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Fri, 29 Mar 2024 22:43:12 +0000 Subject: [PATCH] chore: removing old todos --- src/consumer.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/consumer.ts b/src/consumer.ts index 3a6e5b9..3df9eb4 100644 --- a/src/consumer.ts +++ b/src/consumer.ts @@ -18,7 +18,6 @@ import { TimeoutError, } from "./errors.js"; -// TODO: Document how to use this in the README /** * [Usage](https://bbc.github.io/cloudflare-queue-consumer/index.html#usage) */ @@ -366,8 +365,7 @@ export class Consumer extends TypedEventEmitter { retries: Message[], ): Promise { try { - // TODO: this is pretty hacky - // TODO: This doesn't appear to be acknowledging correctly.... + // TODO: this is pretty hacky, is there a better way to do this? const retriesWithDelay = retries.map((message) => ({ ...message, delay_seconds: this.retryMessageDelay,