Hello, I am using rudderstack SDK for node (node version 14) and I am running into some issues with the persistence queue.
when i (purposefully) crash my application, it does write the events into redis and when I start the app again, it will send the events in the queue into rudderstack.
But, if I restart the app again after it cleared the queue it will still send the same events (meaning it did not delete the sent event from redis).
After some investigation I found that while it is processing the queue it throws an error “ReferenceError: reject is not defined”, my guess is that something went wrong while trying to delete the event from redis.
Thanks in advance 🙂