aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps/docstore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-06 14:05:38 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-10-06 14:58:28 +0200
commitcb60fccb0fb3bf92bf2a223324dad44e986ae54d (patch)
treebf3dc2a59ae2a4b501bbded96ce68fc56f2b2f4e /searchlib/src/apps/docstore
parent3901ca812608d7c2fbcfdd7ca0524a8758a212ac (diff)
Let config reflect what it is, a threadpool serving a range of background task in the backend.
Diffstat (limited to 'searchlib/src/apps/docstore')
-rw-r--r--searchlib/src/apps/docstore/benchmarkdatastore.cpp2
-rw-r--r--searchlib/src/apps/docstore/documentstoreinspect.cpp2
-rw-r--r--searchlib/src/apps/docstore/verifylogdatastore.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/apps/docstore/benchmarkdatastore.cpp b/searchlib/src/apps/docstore/benchmarkdatastore.cpp
index 3dcfbbb31cc..620a139d451 100644
--- a/searchlib/src/apps/docstore/benchmarkdatastore.cpp
+++ b/searchlib/src/apps/docstore/benchmarkdatastore.cpp
@@ -99,7 +99,7 @@ BenchmarkDataStoreApp::benchmark(const vespalib::string & dir, size_t numReads,
tuning._randRead.setWantMemoryMap();
}
search::index::DummyFileHeaderContext fileHeaderContext;
- vespalib::ThreadStackExecutor executor(config.getNumThreads(), 128*1024);
+ vespalib::ThreadStackExecutor executor(1, 128*1024);
transactionlog::NoSyncProxy noTlSyncer;
LogDataStore store(executor, dir, config, growStrategy, tuning,
fileHeaderContext,
diff --git a/searchlib/src/apps/docstore/documentstoreinspect.cpp b/searchlib/src/apps/docstore/documentstoreinspect.cpp
index b7f202f1209..40f603c3da1 100644
--- a/searchlib/src/apps/docstore/documentstoreinspect.cpp
+++ b/searchlib/src/apps/docstore/documentstoreinspect.cpp
@@ -105,7 +105,7 @@ DocumentStoreInspectApp::verify(const vespalib::string & dir)
GrowStrategy growStrategy;
TuneFileSummary tuning;
search::index::DummyFileHeaderContext fileHeaderContext;
- vespalib::ThreadStackExecutor executor(config.getNumThreads(), 128*1024);
+ vespalib::ThreadStackExecutor executor(1, 128*1024);
transactionlog::NoSyncProxy noTlSyncer;
LogDataStore store(executor, dir, config, growStrategy, tuning,
diff --git a/searchlib/src/apps/docstore/verifylogdatastore.cpp b/searchlib/src/apps/docstore/verifylogdatastore.cpp
index 1fb83248b5b..498516882c1 100644
--- a/searchlib/src/apps/docstore/verifylogdatastore.cpp
+++ b/searchlib/src/apps/docstore/verifylogdatastore.cpp
@@ -49,7 +49,7 @@ VerifyLogDataStoreApp::verify(const vespalib::string & dir)
GrowStrategy growStrategy;
TuneFileSummary tuning;
search::index::DummyFileHeaderContext fileHeaderContext;
- vespalib::ThreadStackExecutor executor(config.getNumThreads(), 128*1024);
+ vespalib::ThreadStackExecutor executor(1, 128*1024);
transactionlog::NoSyncProxy noTlSyncer;
try {