Watch
0
0
Fork
You've already forked hyperhive
0

log failed controller jobs, re-run the meta update every ten minutes

This commit is contained in:
atlas 2026-10-25 12:25:01 +01:00
commit 0f1ba6e630
4 changed files with 153 additions and 17 deletions

View file

@ -288,10 +288,8 @@ fn spawn_forge_workers(
) {
// `internal/meta` appears, catches up with every config head that moved
// while this daemon was down, and takes this daemon's rev as the hyperhive
// pin when that is newer.
if let Err(e) = crate::jobq::queue_meta_update(jobq) {
tracing::warn!(error = %format!("{e:#}"), "update_meta: queueing failed");
}
// 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) {
forge::operator_profiles::spawn(Arc::clone(&client), bridge, queue);