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/writer.cc | |
| parent | 350c6ca06fd782917586d039850c93f8f9613707 (diff) | |
Distinguish master DoM encode threads count from the server count.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index c507c5527..87cdac2d8 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -489,7 +489,7 @@ Writer::finish () shared_ptr<boost::asio::io_service::work> work (new boost::asio::io_service::work (service)); - int const threads = max (1, Config::instance()->num_local_encoding_threads ()); + int const threads = max (1, Config::instance()->master_encoding_threads ()); for (int i = 0; i < threads; ++i) { pool.create_thread (boost::bind (&boost::asio::io_service::run, &service)); |
