aboutsummaryrefslogtreecommitdiff
path: root/zenstore/compactcas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore/compactcas.cpp')
-rw-r--r--zenstore/compactcas.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 63e5168c7..1f49dd7c2 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -2091,7 +2091,6 @@ TEST_CASE("compactcas.threadedinsert") // * doctest::skip(true))
NewChunks.emplace_back(Chunk);
}
-// WorkerThreadPool ThreadPool(4 /* std::thread::hardware_concurrency() + 2*/); // Flood it a little
RwLock ChunkHashesLock;
std::atomic_uint32_t AddedChunkCount;
@@ -2177,7 +2176,7 @@ TEST_CASE("compactcas.threadedinsert") // * doctest::skip(true))
int32_t C = 0;
while (C < KeepHashes.size())
{
- if (C % 3 == 0 && C < KeepHashes.size() - 1)
+ if (C % 77 == 0 && C < KeepHashes.size() - 1)
{
KeepHashes[C] = KeepHashes[KeepHashes.size() - 1];
KeepHashes.pop_back();