0

I am use PhpRedis

$redis->blPop('key', 10);

How check how many process wait 'key'?

$redis->blPopCountWait('key'); => 30

Thank you!

BigTon
  • 137
  • 1
  • 6

1 Answers1

1

There is no way to do that in Redis.

The closest you can get is running CLIENT LIST and filter the reply by 'cmd=blpop', but this will not tell you the actual key(s) each connection is blocking on.

Itamar Haber
  • 47,336
  • 7
  • 91
  • 117