projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
eef0b72
)
Patch for memslap by Furuhashi Sadayuk
author
Brian Aker
<brian@tangent.org>
Wed, 15 Oct 2008 04:17:18 +0000
(21:17 -0700)
committer
Brian Aker
<brian@tangent.org>
Wed, 15 Oct 2008 04:17:18 +0000
(21:17 -0700)
clients/memslap.c
patch
|
blob
|
history
diff --git
a/clients/memslap.c
b/clients/memslap.c
index ddb18f3e7f303b9a95081cf1c269677b3a8c087d..4a4f9a2eb9def19ddacb6c27afdc900313256f09 100644
(file)
--- a/
clients/memslap.c
+++ b/
clients/memslap.c
@@
-210,7
+210,7
@@
void scheduler(memcached_server_st *servers, conclusions_st *conclusion)
struct timespec abstime;
memset(&abstime, 0, sizeof(struct timespec));
- abstime.tv_sec= 1;
+ abstime.tv_sec= 1
0
;
pthread_cond_timedwait(&count_threshhold, &counter_mutex, &abstime);
}
@@
-292,6
+292,7
@@
void options_parse(int argc, char *argv[])
break;
case OPT_SLAP_CONCURRENCY:
opt_concurrency= strtol(optarg, (char **)NULL, 10);
+ break;
case OPT_SLAP_EXECUTE_NUMBER:
opt_execute_number= strtol(optarg, (char **)NULL, 10);
break;