fix: optimize async handler usage in singleton checks and resource initialization #4576, #4590, #4609

This commit is contained in:
Tunglies
2025-09-02 13:37:05 +08:00
parent 45ddb15d56
commit d2b38a8a3c
4 changed files with 6 additions and 13 deletions

View File

@@ -445,14 +445,6 @@ pub async fn init_resources() -> Result<()> {
(Ok(src_modified), Ok(dest_modified)) => {
if src_modified > dest_modified {
handle_copy(src_path.clone(), dest_path.clone(), file.to_string()).await;
} else {
logging!(
debug,
Type::Setup,
true,
"skipping resource copy '{}'",
file
);
}
}
_ => {