Don't execute commands for clients when they are unblocked

This commit is contained in:
Pieter Noordhuis
2010-12-06 16:39:39 +01:00
parent ecf9401415
commit a4ce758155
3 changed files with 19 additions and 8 deletions

View File

@ -435,6 +435,7 @@ struct redisServer {
/* Blocked clients */
unsigned int bpop_blocked_clients;
unsigned int vm_blocked_clients;
list *unblocked_clients;
/* Sort parameters - qsort_r() is only available under BSD so we
* have to take this state global, in order to pass it to sortCompare() */
int sort_desc;