Skip to content

Commit

Permalink
0dt: biased select in preflight_0dt
Browse files Browse the repository at this point in the history
  • Loading branch information
aljoscha committed Feb 10, 2025
1 parent eda7967 commit 1f69ebd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/environmentd/src/deployment/preflight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ pub async fn preflight_0dt(
let mut should_skip_catchup = false;
loop {
tokio::select! {
biased;

() = &mut skip_catchup => {
info!("skipping waiting for deployment to catch up due to administrator request");
should_skip_catchup = true;
Expand Down

0 comments on commit 1f69ebd

Please sign in to comment.