diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-05-16 11:56:21 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2022-05-16 11:56:21 +0000 |
commit | e6ff27a287c753d5ccbe3c08eb881dc2c78e3e7a (patch) | |
tree | 5cd4efb2503091525ca30410cb02fd4a6186f4b0 /searchcore/src/tests/proton/server | |
parent | bbe92324857195e87affc35235218c9417ec415a (diff) |
Remove unused code after the shared field writer is used for all document dbs.
Diffstat (limited to 'searchcore/src/tests/proton/server')
-rw-r--r-- | searchcore/src/tests/proton/server/shared_threading_service/shared_threading_service_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/server/shared_threading_service/shared_threading_service_test.cpp b/searchcore/src/tests/proton/server/shared_threading_service/shared_threading_service_test.cpp index a15bd8c67c9..948c98b1034 100644 --- a/searchcore/src/tests/proton/server/shared_threading_service/shared_threading_service_test.cpp +++ b/searchcore/src/tests/proton/server/shared_threading_service/shared_threading_service_test.cpp @@ -26,7 +26,6 @@ make_proton_config(double concurrency) builder.flush.maxconcurrent = 1; builder.feeding.concurrency = concurrency; - builder.feeding.sharedFieldWriterExecutor = ProtonConfig::Feeding::SharedFieldWriterExecutor::DOCUMENT_DB; builder.indexing.tasklimit = 255; return builder; } @@ -65,7 +64,7 @@ public: transport.transport(), bucket_executor); } SequencedTaskExecutor* field_writer() { - return dynamic_cast<SequencedTaskExecutor*>(service->field_writer()); + return dynamic_cast<SequencedTaskExecutor*>(&service->field_writer()); } }; |