From 30cb990efa553d734253903e7add73775b18ecf3 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 25 Jun 2013 11:52:05 -0700 Subject: [PATCH] Looks like a bit more delay is needed to smooth the latency. --- Subtrees/leveldb/db/db_impl.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Subtrees/leveldb/db/db_impl.cc b/Subtrees/leveldb/db/db_impl.cc index 95241cfb8b..af02467b33 100644 --- a/Subtrees/leveldb/db/db_impl.cc +++ b/Subtrees/leveldb/db/db_impl.cc @@ -823,9 +823,8 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact, (unsigned long long) current_entries, (unsigned long long) current_bytes); - // rate-limit compaction file creation - // with a 25ms pause - env_->SleepForMicroseconds(25000); + // rate-limit compaction file creation with a 100ms pause + env_->SleepForMicroseconds(100000); } } return s;