We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5cbf34 commit 0ac88a7Copy full SHA for 0ac88a7
server/src/lib.rs
@@ -51,7 +51,7 @@ pub struct Args {
51
}
52
53
pub static ARGS: Lazy<Args> = Lazy::new(Args::parse);
54
-pub static ABBS_REPO_LOCK: Lazy<tokio::sync::Mutex<()>> = Lazy::new(tokio::sync::Mutex::new);
+pub static ABBS_REPO_LOCK: Lazy<tokio::sync::Mutex<()>> = Lazy::new(|| tokio::sync::Mutex::new(()));
55
56
// follow https://github.com/AOSC-Dev/autobuild3/blob/master/sets/arch_groups/mainline
57
pub(crate) const ALL_ARCH: &[&str] = &[
0 commit comments