We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306b681 commit 832ae49Copy full SHA for 832ae49
site/src/server.rs
@@ -558,6 +558,7 @@ pub async fn handle_collected(
558
} else {
559
String::new()
560
};
561
+ let mut should_clear = false;
562
if let Some(current) = persistent.current.as_mut() {
563
// If the request was received twice (e.g., we stopped after we wrote DB but before
564
// responding) then we don't want to loop the collector.
@@ -575,9 +576,13 @@ pub async fn handle_collected(
575
576
current.commit.sha, comparison_url
577
),
578
));
579
+ should_clear = true;
580
}
581
582
583
+ if should_clear {
584
+ persistent.current = None;
585
+ }
586
587
588
0 commit comments