Apply cargo fmt to builder.rs

This commit is contained in:
DanConwayDev
2026-01-15 07:11:36 +00:00
parent e56ce0140a
commit 4617b67d48
+31 -31
View File
@@ -166,11 +166,11 @@ impl Nip34WritePolicy {
{
Ok(result) => {
tracing::info!(
"Restored {} events from holding database for {}/{}",
result.restored_count,
announcement.owner_npub(),
announcement.identifier
);
"Restored {} events from holding database for {}/{}",
result.restored_count,
announcement.owner_npub(),
announcement.identifier
);
if result.failed_count > 0 {
tracing::warn!(
@@ -183,37 +183,37 @@ impl Nip34WritePolicy {
// Cleanup archive files after successful recovery
match crate::git::archive::cleanup_after_recovery(
&recovery_info.archive_path,
&announcement.owner_npub(),
&announcement.identifier,
) {
Ok(stats) => {
tracing::info!(
"Cleaned up archive for {}/{}: {} bytes reclaimed",
announcement.owner_npub(),
announcement.identifier,
stats.bytes_reclaimed
);
}
Err(e) => {
tracing::warn!(
"Failed to cleanup archive for {}/{}: {}",
announcement.owner_npub(),
announcement.identifier,
e
);
}
}
&recovery_info.archive_path,
&announcement.owner_npub(),
&announcement.identifier,
) {
Ok(stats) => {
tracing::info!(
"Cleaned up archive for {}/{}: {} bytes reclaimed",
announcement.owner_npub(),
announcement.identifier,
stats.bytes_reclaimed
);
}
Err(e) => {
tracing::warn!(
"Failed to cleanup archive for {}/{}: {}",
announcement.owner_npub(),
announcement.identifier,
e
);
}
}
// Delete events from holding database
let deleted_count =
holding_db.delete_events(&event_ids).await;
tracing::info!(
"Deleted {} events from holding database for {}/{}",
deleted_count,
announcement.owner_npub(),
announcement.identifier
);
"Deleted {} events from holding database for {}/{}",
deleted_count,
announcement.owner_npub(),
announcement.identifier
);
}
Err(e) => {
tracing::warn!(