Closed Suhail closed 14 years ago
you could instead try writing the item to a different queue, with an expiration and a "move_expired_to" setting that punts expired items back to the main queue.
Sounds like you'd have to continuously poll the "delayed" queue; is that what you're suggesting also?
you can ask kestrel to poll that periodically with "expiration_timer_frequency_seconds".
Is this in the docs?
Can you document how "move_expired_to" works and how to use it? Also, can you decide whether it gets added to the head/tail of the queue? That would be good to control that.
ok, documented!
I'd like something that lets you delay when the item is added back to the head after an abort.
Maybe: /abort/t=300
This would add the item back to the head of the queue after 300ms. Right now I have clients that hang for a certain amount of time.