lib/store-worker: remove

We're not using it.
This commit is contained in:
Dirk-Jan C. Binnema
2024-11-26 21:17:36 +02:00
parent d5d57b4327
commit 831deb2364
5 changed files with 1 additions and 258 deletions

View File

@ -131,7 +131,6 @@ struct Store::Private {
XapianDb xapian_db_;
Config config_;
ContactsCache contacts_cache_;
std::unique_ptr<StoreWorker> store_worker_;
std::unique_ptr<Indexer> indexer_;
const std::string root_maildir_;
@ -253,7 +252,6 @@ Store::Store(Store&& other)
{
priv_ = std::move(other.priv_);
priv_->indexer_.reset();
priv_->store_worker_.reset();
}
Store::~Store() = default;
@ -318,15 +316,6 @@ Store::indexer()
return *priv_->indexer_.get();
}
StoreWorker&
Store::store_worker()
{
if (!priv_->store_worker_)
priv_->store_worker_ = std::make_unique<StoreWorker>(*this);
return *priv_->store_worker_;
}
Result<Store::Id>
Store::add_message(Message& msg, bool is_new)
{