ost
ost copied to clipboard
queue behavior
@soveran thanks for this gem, is very useful for us!, I just added a fews methods for queue behavior without looping, is you think this is necessary, please add this changes
thanks!
Hey @chebyte, thanks for the patch and for the kind words! Can you tell me more about the use case for this change? The reason why I ask is because BRPOPLPUSH
provides some guarantees so that if something goes wrong with the worker, the item is kept in a backup queue. Tell me more about how you plan to use it.
We use this methods so we can use OST like a queue instead a loop. We could have use only Redis, but we are already are using OST for several reasons, so we went that way. We aren't sure that this changes mean a great change on the gem, but in the spirit of open source, we would like to share. Please feel free to close this PR if you feel like.
thanks!