Skip to content

Commit

Permalink
fix: change default QueueEvents lastEventId to $
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Dec 9, 2019
1 parent 4adf856 commit 3c5b01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/queue-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class QueueEvents extends QueueBase {
const opts: QueueEventsOptions = this.opts;

const key = this.keys.events;
let id = opts.lastEventId || '0-0';
let id = opts.lastEventId || '$';

while (!this.closing) {
try {
Expand Down

0 comments on commit 3c5b01d

Please sign in to comment.