mirror of
https://github.com/chatmail/core.git
synced 2026-04-22 16:06:30 +03:00
Use spawn() instead of block_on() again because it reportedly might lead to deadlocks
Also, fix some minor stuff
This commit is contained in:
@@ -346,7 +346,7 @@ impl Sql {
|
||||
let debug_logging = self.get_raw_config_u32(Config::DebugLogging).await?;
|
||||
context
|
||||
.debug_logging
|
||||
.store(debug_logging.unwrap_or(0), atomic::Ordering::Release);
|
||||
.store(debug_logging.unwrap_or(0), atomic::Ordering::Relaxed);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user