summaryrefslogtreecommitdiff
path: root/test/miscellaneous/async_task.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/miscellaneous/async_task.cpp')
-rw-r--r--test/miscellaneous/async_task.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/miscellaneous/async_task.cpp b/test/miscellaneous/async_task.cpp
index c1a2bd82e0..c32c2396fb 100644
--- a/test/miscellaneous/async_task.cpp
+++ b/test/miscellaneous/async_task.cpp
@@ -75,7 +75,7 @@ TEST(AsyncTask, RequestCoalescingMultithreaded) {
std::vector<std::unique_ptr<Thread<TestWorker>>> threads;
ThreadContext context = {"Test", ThreadType::Map, ThreadPriority::Regular};
- unsigned numThreads = 50;
+ unsigned numThreads = 25;
for (unsigned i = 0; i < numThreads; ++i) {
std::unique_ptr<Thread<TestWorker>> thread =
std::make_unique<Thread<TestWorker>>(context, &async);
@@ -99,7 +99,7 @@ TEST(AsyncTask, ThreadSafety) {
AsyncTask async([&count] { ++count; });
async.unref();
- unsigned numThreads = 50;
+ unsigned numThreads = 25;
auto callback = [&] {
if (!--numThreads) {