summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-06 21:27:13 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-10 00:31:38 +0100
commit20559a1c751520ce43f9dcf9b098c8b3f61b8f1a (patch)
tree039b70d2663c275f1f30a93720df63c74711be1d /test/test.cc
parentc347e71928f801f26d0ab922008023df0dbea394 (diff)
Use all cores when encoding in tests.v2.16.99v2.16.x
I think this also avoids the possibility of setting the master encoding thread count to 0 by mistake on machines that don't have many cores.
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc
index fc5d9dc83..466d6bb31 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -117,7 +117,7 @@ boost::filesystem::path TestPaths::xsd ()
static void
setup_test_config ()
{
- Config::instance()->set_master_encoding_threads (boost::thread::hardware_concurrency() / 2);
+ Config::instance()->set_master_encoding_threads(boost::thread::hardware_concurrency());
Config::instance()->set_server_encoding_threads (1);
Config::instance()->set_server_port_base (61921);
Config::instance()->set_default_dcp_content_type (static_cast<DCPContentType*> (0));