diff options
author | Henning Baldersheim <balder@oath.com> | 2018-03-16 18:01:09 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-03-19 13:01:16 +0100 |
commit | b5de45250c79c35635b67ecfccdc181a910ded20 (patch) | |
tree | 9f60814fa331813d8753be3e35f1569499628fc6 | |
parent | 7d4570b514ada0bf92d0bc79f7ce3b8d050647f8 (diff) |
Use simple num_threads.
-rw-r--r-- | storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp index 5d4cae19b59..604acebcf38 100644 --- a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp +++ b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp @@ -116,7 +116,7 @@ FileStorManager::configure(std::unique_ptr<vespa::config::content::StorFilestorC _disks.resize(_component.getDiskCount()); - size_t numThreads = (_config->threads.size() == 0) ? 6 : _config->threads.size(); + size_t numThreads = (_config->numThreads) ? 6 : _config->numThreads; _metrics->initDiskMetrics(_disks.size(), _component.getLoadTypes()->getMetricLoadTypes(), numThreads); _filestorHandler.reset(new FileStorHandler(*this, *_metrics, _partitions, _compReg)); |