add: option to clear all notifications when you open the page

This commit is contained in:
trisua 2025-06-27 01:38:35 -04:00
parent 45ea91a768
commit e7c4cf14aa
5 changed files with 19 additions and 3 deletions

View file

@ -81,7 +81,7 @@ pub async fn stripe_webhook(
loop {
if retries >= 5 {
// we've already tried 5 times (10 seconds of waiting)... it's not
// we've already tried 5 times (25 seconds of waiting)... it's not
// going to happen
//
// we're going to report this error to the audit log so someone can
@ -111,7 +111,7 @@ pub async fn stripe_webhook(
Err(_) => {
tracing::info!("checkout session not stored in db yet");
retries += 1;
tokio::time::sleep(Duration::from_secs(2)).await;
tokio::time::sleep(Duration::from_secs(5)).await;
continue;
}
}