diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-27 11:57:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-27 11:57:15 +0100 |
| commit | 1f7f758273eb3c98356438da897b7709f8cb87f0 (patch) | |
| tree | 06fb17aa8ee01c91779402f1abb3c5d2a389ed7a /src/lib/encoder.cc | |
| parent | 350c6ca06fd782917586d039850c93f8f9613707 (diff) | |
Distinguish master DoM encode threads count from the server count.
Diffstat (limited to 'src/lib/encoder.cc')
| -rw-r--r-- | src/lib/encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<EncodeServerDescription> ())); _threads.push_back (t); #ifdef BOOST_THREAD_PLATFORM_WIN32 |
