Skip to content

Commit

Permalink
Disable the job to top up canisters until we have more cycles
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Nov 17, 2024
1 parent ee82796 commit 8fe67f9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ thread_local! {
const CYCLES_CHECK_INTERVAL: Milliseconds = 7 * DAY_IN_MS;

pub fn start_job() {
run_now_then_interval(Duration::from_millis(CYCLES_CHECK_INTERVAL), populate_canisters);
let enabled = false;
if enabled {
run_now_then_interval(Duration::from_millis(CYCLES_CHECK_INTERVAL), populate_canisters);
}
}

fn populate_canisters() {
Expand Down

0 comments on commit 8fe67f9

Please sign in to comment.