add rocksdb secondary; fix read_only mode.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6b80361c31
commit
96fcf7f94d
5 changed files with 27 additions and 2 deletions
|
@ -32,6 +32,10 @@ impl crate::Service for Service {
|
|||
}
|
||||
|
||||
async fn worker(self: Arc<Self>) -> Result<()> {
|
||||
if self.services.globals.is_read_only() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
self.set_emergency_access()
|
||||
.await
|
||||
.inspect_err(|e| error!("Could not set the configured emergency password for the conduit user: {e}"))?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue