Skip to content

Commit

Permalink
Prevent asyncappender test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Oct 16, 2024
1 parent 6efda53 commit 820ffa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/cpp/asyncappendertestcase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class AsyncAppenderTestCase : public AppenderSkeletonTestCase
void testMultiThread()
{
int LEN = 2000; // Larger than default buffer size (128)
int threadCount = 6;
int threadCount = max(std::thread::hardware_concurrency(), 2);
auto root = Logger::getRootLogger();
auto vectorAppender = std::make_shared<VectorAppender>();
auto asyncAppender = std::make_shared<AsyncAppender>();
Expand Down

0 comments on commit 820ffa2

Please sign in to comment.