Skip to content

Timezone issues #10

Description

@yuvalt

I tried to integrate it into my code today and even though I enqueued tasks, they were never processed. Looking at the code, it seems that you're running into time zone issues. When you insert data, you use new Date() but when you dequeue, you filter with NOW(). I recommend you switch your dequeue to use new Date() instead of NOW() to resolve this, so there is consistency. Thanks for a very nice library!

PS: I did see the alignTimeZone option, but IMHO it's too intrusive to change the database time zone (I assume that's why you implemented it).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions