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
This commit is contained in:
parent
e9b68056b8
commit
79936da79b
1 changed files with 2 additions and 2 deletions
|
@ -349,7 +349,7 @@ void * mergeManager::pretty_print_thread() {
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday(&tv, 0);
|
gettimeofday(&tv, 0);
|
||||||
struct timespec ts;
|
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);
|
pthread_cond_timedwait(&pp_cond, &dummy_mut, &ts);
|
||||||
if(ltable) {
|
if(ltable) {
|
||||||
rwlc_readlock(ltable->header_mut);
|
rwlc_readlock(ltable->header_mut);
|
||||||
|
@ -440,7 +440,7 @@ void mergeManager::pretty_print(FILE * out) {
|
||||||
#ifdef NO_SNOWSHOVEL
|
#ifdef NO_SNOWSHOVEL
|
||||||
assert((!c1->active) || (c1->in_progress >= -0.01 && c1->in_progress < 1.02));
|
assert((!c1->active) || (c1->in_progress >= -0.01 && c1->in_progress < 1.02));
|
||||||
#endif
|
#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");
|
fprintf(out, "\r");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue