Skip to content

Commit 9384b00

Browse files
committed
test: mutation testing for session restore module
1 parent 1a8e56e commit 9384b00

3 files changed

Lines changed: 550 additions & 14 deletions

File tree

src/app/dev_fee.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ use sqlx::SqlitePool;
7575
use sqlx_crud::Crud;
7676
use std::collections::HashSet;
7777
use tokio::sync::mpsc::channel;
78-
use tracing::{error, info, warn};
78+
use tracing::{debug, error, info, warn};
7979

8080
// ── Public entry point ──────────────────────────────────────────────────
8181

@@ -174,10 +174,12 @@ async fn cleanup_stale_pending_markers(pool: &SqlitePool) {
174174
}
175175

176176
if stale_count > 0 {
177-
warn!(
178-
"Reset {} stale PENDING dev fee orders (TTL: {}s)",
177+
info!(
178+
"Stale PENDING cleanup completed: reset {} orders (TTL: {}s)",
179179
stale_count, CLEANUP_TTL_SECS
180180
);
181+
} else {
182+
debug!("Stale PENDING cleanup: no stale orders found");
181183
}
182184
}
183185

0 commit comments

Comments
 (0)