Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
669f302e
Commit
669f302e
authored
Jan 31, 2011
by
Pieter Noordhuis
Browse files
Reply with single null bulk for unsuccesful BRPOPLPUSH
parent
71791e7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_list.c
View file @
669f302e
...
...
@@ -941,7 +941,7 @@ void brpoplpushCommand(redisClient *c) {
/* Blocking against an empty list in a multi state
* returns immediately. */
addReply
(
c
,
shared
.
null
multi
bulk
);
addReply
(
c
,
shared
.
nullbulk
);
}
else
{
/* The list is empty and the client blocks. */
blockForKeys
(
c
,
c
->
argv
+
1
,
1
,
timeout
,
c
->
argv
[
2
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment