Skip to content

Commit

Permalink
chore: removing old todos
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Mar 29, 2024
1 parent a229b55 commit efcec5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down Expand Up @@ -366,8 +365,7 @@ export class Consumer extends TypedEventEmitter {
retries: Message[],
): Promise<AckMessageResponse> {
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,
Expand Down

0 comments on commit efcec5c

Please sign in to comment.