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
d10a01bb
Commit
d10a01bb
authored
Oct 10, 2012
by
Salvatore Sanfilippo
Browse files
Merge pull request #707 from NanXiao/patch-1
Update src/redis-benchmark.c
parents
278304cc
9eb3a7bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
d10a01bb
...
@@ -201,7 +201,10 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
...
@@ -201,7 +201,10 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
if
(
config
.
requests_finished
<
config
.
requests
)
if
(
config
.
requests_finished
<
config
.
requests
)
config
.
latency
[
config
.
requests_finished
++
]
=
c
->
latency
;
config
.
latency
[
config
.
requests_finished
++
]
=
c
->
latency
;
c
->
pending
--
;
c
->
pending
--
;
if
(
c
->
pending
==
0
)
clientDone
(
c
);
if
(
c
->
pending
==
0
)
{
clientDone
(
c
);
break
;
}
}
else
{
}
else
{
break
;
break
;
}
}
...
...
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