8000 Instantiate thread pool with just 4 threads. · log4cplus/log4cplus@d9146db · GitHub
[go: up one dir, main page]

Skip to content

Commit d9146db

Browse files
committed
Instantiate thread pool with just 4 threads.
Fixes GitHub issue #420.
1 parent ff7a8d7 commit d9146db<
8000
/span>

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/global-init.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ std::unique_ptr<progschj::ThreadPool>
137137
instantiate_thread_pool ()
138138
{
139139
log4cplus::thread::SignalsBlocker sb;
140-
return std::unique_ptr<progschj::ThreadPool>(new progschj::ThreadPool);
140+
return std::unique_ptr<progschj::ThreadPool>(new progschj::ThreadPool (4));
141141
}
142142
#endif
143143

0 commit comments

Comments
 (0)
0