Fix build
Summary: Build broken by 6ede020dc4
Test Plan: make all
Reviewers: sdong
Subscribers: dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D37689
This commit is contained in:
parent
93ab1473dc
commit
4961a9622c
@ -1063,7 +1063,7 @@ class StressTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto thread_pool_size_base = FLAGS_max_background_compactions;
|
auto thread_pool_size_base = FLAGS_max_background_compactions;
|
||||||
auto thread_pool_size_var = FLAGS_compaction_thread_pool_varations;
|
auto thread_pool_size_var = FLAGS_compaction_thread_pool_variations;
|
||||||
int new_thread_pool_size =
|
int new_thread_pool_size =
|
||||||
thread_pool_size_base - thread_pool_size_var +
|
thread_pool_size_base - thread_pool_size_var +
|
||||||
thread->rand.Next() % (thread_pool_size_var * 2 + 1);
|
thread->rand.Next() % (thread_pool_size_var * 2 + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user