From 79936da79bdf1865b4581b7c855a49b2e472cdfa Mon Sep 17 00:00:00 2001 From: sears Date: Wed, 8 Dec 2010 19:46:55 +0000 Subject: [PATCH] loosen some scheduling parameters git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@1467 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe --- mergeManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mergeManager.cpp b/mergeManager.cpp index b20c7f4..2dbb12a 100644 --- a/mergeManager.cpp +++ b/mergeManager.cpp @@ -349,7 +349,7 @@ void * mergeManager::pretty_print_thread() { struct timeval tv; gettimeofday(&tv, 0); struct timespec ts; - double_to_ts(&ts, tv_to_double(&tv)+1); + double_to_ts(&ts, tv_to_double(&tv)+1.01); pthread_cond_timedwait(&pp_cond, &dummy_mut, &ts); if(ltable) { rwlc_readlock(ltable->header_mut); @@ -440,7 +440,7 @@ void mergeManager::pretty_print(FILE * out) { #ifdef NO_SNOWSHOVEL assert((!c1->active) || (c1->in_progress >= -0.01 && c1->in_progress < 1.02)); #endif - assert((!c2->active) || (c2->in_progress >= -0.01 && c2->in_progress < 1.02)); + assert((!c2->active) || (c2->in_progress >= -0.01 && c2->in_progress < 1.10)); fprintf(out, "\r"); }