From 32c6bb2d23d9c21b338b2e881250cd45c5775bfa Mon Sep 17 00:00:00 2001 From: r-birkner <103420898+r-birkner@users.noreply.github.com> Date: Wed, 13 Nov 2024 07:50:21 +0100 Subject: [PATCH] fix(certificate-orchestrator): initialize management task interval (#2578) --- .../certificate_orchestrator/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rs/boundary_node/certificate_issuance/certificate_orchestrator/src/main.rs b/rs/boundary_node/certificate_issuance/certificate_orchestrator/src/main.rs index 18a63ad4255..ef900305af4 100644 --- a/rs/boundary_node/certificate_issuance/certificate_orchestrator/src/main.rs +++ b/rs/boundary_node/certificate_issuance/certificate_orchestrator/src/main.rs @@ -582,6 +582,11 @@ fn post_upgrade_fn() { // this can be removed after we upgraded the canisters that didn't do it in init_fn() ALLOWED_PRINCIPALS.with(|m| m.borrow_mut().insert(id().to_text().into(), ())); + MANAGEMENT_TASK_INTERVAL.with(|s| { + let mut s = s.borrow_mut(); + s.insert((), MINUTE); + }); + init_timers_fn(); // rebuild the IC certification tree