error handling, coderabbit

This commit is contained in:
lda committed 2026-05-03 15:39:10 +07:00 Verified
1 parent 155458791e
commit 3f8abc1571
33 files changed
+393 -298

No files matched your search

+2 -1
View File
@@ -69,7 +69,8 @@ impl DaemonConfig {
let observation_retention = Duration::from_secs(
args.observation_retention_seconds
.or(file.observation_retention_seconds)
.unwrap_or(2_592_000),
.unwrap_or(2_592_000)
.max(1),
);
let pid_file_raw = args