Skip to content

Commit

Permalink
post-rebase update for #5985
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jul 26, 2024
1 parent a6e1362 commit 91341da
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions nexus/src/app/background/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,16 +639,15 @@ impl BackgroundTasksInitializer {
datastore.clone(),
saga_request.clone(),
);
driver.register(
"instance_updater".to_string(),
"detects if instances require update sagas and schedules them"
.to_string(),
config.instance_updater.period_secs,
Box::new(updater),
opctx.child(BTreeMap::new()),
vec![],
task_instance_updater,
);
driver.register( TaskDefinition {
name: "instance_updater",
description: "detects if instances require update sagas and schedules them",
period: config.instance_updater.period_secs,
task_impl: Box::new(updater),
opctx: opctx.child(BTreeMap::new()),
watchers: vec![],
activator: task_instance_updater,
});
}

// Background task: service firewall rule propagation
Expand Down

0 comments on commit 91341da

Please sign in to comment.