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:
parent
b440e1a467
commit
83d513aef4
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ async fn poll_stripe_events(
|
||||||
.create_processed_stripe_event(&processed_event_params)
|
.create_processed_stripe_event(&processed_event_params)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
return Ok(());
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let process_result = match event.type_ {
|
let process_result = match event.type_ {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue