How does Redisson handle same-score elements in RDelayedQueue in a multi-instance Spring Boot application?
I am using a Spring Boot application with multiple instances and leveraging the RDelayedQueue from the Redisson library. I noticed that the library uses long timeout = System.currentTimeMillis() + delayInMs
as the score for elements in a sorted set.
Here’s my concern, two tasks are offered to the delayed queue at the same time, resulting in the same timeout score.