From 20559a1c751520ce43f9dcf9b098c8b3f61b8f1a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 6 Dec 2024 21:27:13 +0100 Subject: Use all cores when encoding in tests. 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. --- test/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test.cc') 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 (0)); -- cgit v1.2.3