Closed
Description
When sending a message with a delay (in seconds) to the Redis transport the following happens:
- The
delay
is provided in seconds. For example 5 seconds. - The
deliveryDelay
is set on a newRedisProducer
by theRedisDriver
in milliseconds based on thedelay
of the message. - The
deliveryDelay
(in milliseconds) is added totime()
(in seconds). Resulting in a delay of 83 minutes and 20 seconds instead of 5 seconds. See the RedisProducer.
Step 3 should divide the deliveryDelay
milliseconds back to seconds before adding it to time()
.
If you'd like, I can provide a PR with the necessary change(s).