J
J
jenya77712019-07-25 14:02:45
Redis
jenya7771, 2019-07-25 14:02:45

How to get 50 items from a Redis queue with one request?

Hello, I have a queue on Redis.
Using the lpush method, I replenish the queue, transfer the array.
Using the rpop method, I get one element, how can I get not one element from the queue, but 50?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Sviridov, 2019-07-25
@dimuska139

Try with lrange

I
Ivan Bogachev, 2017-11-12
@calirails

...with CSS?

You can draw with a gradient .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question