Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Minoru committed Jan 5, 2025
1 parent 38d2428 commit 109ce8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/orchestrator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ pub fn main(logger: Logger) -> anyhow::Result<()> {

let (instance, check_time) = db::pick_next_instance(&conn)
.context(with_loc!("Orchestrator picking next instance"))?;
let wait = check_time.duration_since(SystemTime::now())
let wait = check_time
.duration_since(SystemTime::now())
// If `check_time` has already passed, wait a bit and do the check. The small wait is
// there to ensure that the crawler doesn't fire off many checks at once, potentially
// overloading hosted offerings like mas.to.
Expand Down

0 comments on commit 109ce8e

Please sign in to comment.