Skip to content

Commit

Permalink
fix: remove todos, return values
Browse files Browse the repository at this point in the history
  • Loading branch information
saibatizoku committed Feb 28, 2024
1 parent 6e3691c commit d2f6128
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hermes/bin/src/runtime_extensions/hermes/cron/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ impl InternalState {
app_cron.insert(tagged, crontab);
self.storage.insert(AppName::from(app_name), app_cron);
}
todo!("implement cron event queue")
// todo!("implement cron event queue")
true
}

/// Schedule a single cron event after a fixed delay.
Expand All @@ -107,7 +108,8 @@ impl InternalState {
) -> wasmtime::Result<bool> {
let crontagged = mkdelay_crontab(duration, tag)?;
self.add_crontab(app_name, crontagged, false);
todo!("implement cron event queue")
// todo!("implement cron event queue")
Ok(true)
}

/// List crontabs for an application.
Expand Down

0 comments on commit d2f6128

Please sign in to comment.