log failed controller jobs, re-run the meta update every ten minutes
This commit is contained in:
parent
acfdcd725f
commit
0f1ba6e630
4 changed files with 153 additions and 17 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue