Skip to content

Commit

Permalink
fix(certificate-orchestrator): initialize management task interval (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
r-birkner authored Nov 13, 2024
1 parent bcbccf7 commit 32c6bb2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32c6bb2

Please sign in to comment.