fix/simplify emergency access initialization
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
b2e56777af
commit
dd49b3c3a1
2 changed files with 19 additions and 34 deletions
|
@ -276,14 +276,12 @@ bad_signature_ratelimiter: {bad_signature_ratelimiter}
|
|||
|
||||
pub async fn start(&self) -> Result<()> {
|
||||
debug_info!("Starting services");
|
||||
|
||||
globals::migrations::migrations(&self.db, &self.globals.config).await?;
|
||||
globals::emerg_access::init_emergency_access();
|
||||
|
||||
self.admin.start_handler().await;
|
||||
|
||||
globals::emerg_access::init_emergency_access().await;
|
||||
|
||||
self.sending.start_handler().await;
|
||||
|
||||
if self.globals.config.allow_local_presence {
|
||||
self.presence.start_handler().await;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue