1 parent 158939f commit aa72dcfCopy full SHA for aa72dcf
1 file changed
airborne_server/src/webhook/emit.rs
@@ -60,7 +60,11 @@ pub fn build_delivery(
60
status: "scheduled".to_string(),
61
kronos_job_id: None,
62
scheduled_for: ctx.created_at + chrono::Duration::seconds(delay_secs.max(0)),
63
- max_attempts: if is_test { 1 } else { webhook.max_retries.max(1) },
+ max_attempts: if is_test {
64
+ 1
65
+ } else {
66
+ webhook.max_retries.max(1)
67
+ },
68
is_test,
69
idempotency_key: delivery_id.to_string(),
70
}
0 commit comments