Continue processing Stripe events after seeing one that's > 1 day old (#30971)

This mostly affects local development. It fixes a bug where we would
only process one Stripe event per polling period (5 seconds) when
hitting old events.

Release Notes:

- N/A

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
Max Brunsfeld
2025-05-19 20:17:54 +00:00
committed by GitHub
co-authored by Marshall Bowers
parent b440e1a467
commit 83d513aef4
+1 -1
View File
@@ -971,7 +971,7 @@ async fn poll_stripe_events(
.create_processed_stripe_event(&processed_event_params)
.await?;
return Ok(());
continue;
}
let process_result = match event.type_ {