You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 new RedisProducer by the RedisDriver in milliseconds based on the delay of the message.
The deliveryDelay (in milliseconds) is added to time() (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).
The text was updated successfully, but these errors were encountered:
When sending a message with a delay (in seconds) to the Redis transport the following happens:
delay
is provided in seconds. For example 5 seconds.deliveryDelay
is set on a newRedisProducer
by theRedisDriver
in milliseconds based on thedelay
of the message.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 totime()
.If you'd like, I can provide a PR with the necessary change(s).
The text was updated successfully, but these errors were encountered: