rebuild an agent's closure when the binary cache lost it
This commit is contained in:
parent
8328c38a07
commit
cbe41bea54
1 changed files with 1049 additions and 6 deletions
|
|
@ -291,10 +291,18 @@ fn spawn_forge_workers(
|
|||
// pin when that is newer. The timer's first tick is this boot run.
|
||||
crate::jobq::spawn_meta_update_timer(Arc::clone(jobq));
|
||||
forge::objects::spawn(Arc::clone(&client));
|
||||
if let (Some(bridge), Some(queue)) = (auth, queue) {
|
||||
if let (Some(bridge), Some(queue)) = (auth, queue.clone()) {
|
||||
forge::operator_profiles::spawn(Arc::clone(&client), bridge, queue);
|
||||
}
|
||||
forge::runner_token::spawn(Arc::clone(&client));
|
||||
if let Some(queue) = queue {
|
||||
crate::cache_miss::spawn(
|
||||
queue.clone(),
|
||||
Arc::new(wanted::WantedWriter::new(queue)),
|
||||
hives.iter().map(|h| h.name.clone()).collect(),
|
||||
Arc::clone(&client),
|
||||
);
|
||||
}
|
||||
let sched = Arc::clone(jobq);
|
||||
let hive_names = hives.iter().map(|h| h.name.clone()).collect();
|
||||
forge::hive_token::spawn(Arc::clone(&client), hive_names, move |hives| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue