mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Use RwLock to never persist cli state to db
This commit is contained in:
parent
d8c649b3cd
commit
dd619913da
4 changed files with 39 additions and 16 deletions
|
@ -1300,8 +1300,7 @@ impl IndexScheduler {
|
|||
}
|
||||
|
||||
pub fn features(&self) -> Result<RoFeatures> {
|
||||
let rtxn = self.read_txn()?;
|
||||
self.features.features(rtxn)
|
||||
self.features.features()
|
||||
}
|
||||
|
||||
pub fn put_runtime_features(&self, features: RuntimeTogglableFeatures) -> Result<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue