From: Brian Aker Date: Wed, 15 Oct 2008 04:17:18 +0000 (-0700) Subject: Patch for memslap by Furuhashi Sadayuk X-Git-Tag: 0.25~16 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=336426fb1ab6a3fe87ec7f04c4ed219b16cab814;p=m6w6%2Flibmemcached Patch for memslap by Furuhashi Sadayuk --- diff --git a/clients/memslap.c b/clients/memslap.c index ddb18f3e..4a4f9a2e 100644 --- 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= 10; 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;