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
c0f611f1
Commit
c0f611f1
authored
Jan 03, 2018
by
zhaozhao.zz
Browse files
redis-benchmark: bugfix - handle zero liveclients in right way
parent
238c9bd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
c0f611f1
...
...
@@ -614,7 +614,7 @@ int showThroughput(struct aeEventLoop *eventLoop, long long id, void *clientData
UNUSED
(
id
);
UNUSED
(
clientData
);
if
(
config
.
liveclients
==
0
)
{
if
(
config
.
liveclients
==
0
&&
config
.
requests_finished
!=
config
.
requests
)
{
fprintf
(
stderr
,
"All clients disconnected... aborting.
\n
"
);
exit
(
1
);
}
...
...
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