From 1f7f758273eb3c98356438da897b7709f8cb87f0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 27 Apr 2017 11:57:15 +0100 Subject: Distinguish master DoM encode threads count from the server count. --- src/lib/encoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/encoder.cc') diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index e43325f58..276ef8d3a 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -414,7 +414,7 @@ Encoder::servers_list_changed () #endif if (!Config::instance()->only_servers_encode ()) { - for (int i = 0; i < Config::instance()->num_local_encoding_threads (); ++i) { + for (int i = 0; i < Config::instance()->master_encoding_threads (); ++i) { boost::thread* t = new boost::thread (boost::bind (&Encoder::encoder_thread, this, optional ())); _threads.push_back (t); #ifdef BOOST_THREAD_PLATFORM_WIN32 -- cgit v1.2.3