hook up scheduler with jobs

This commit is contained in:
dignifiedquire
2020-03-18 00:01:59 +01:00
parent ce5b95f8e5
commit 846ef043d5
7 changed files with 604 additions and 722 deletions

View File

@@ -37,8 +37,8 @@ impl Context {
warn!(self, "There is already another ongoing process running.",);
return;
}
job::kill_action(self, job::Action::ConfigureImap).await;
job::add(self, job::Action::ConfigureImap, 0, Params::new(), 0).await;
// job::kill_action(self, job::Action::ConfigureImap).await;
// job::add(self, job::Action::ConfigureImap, 0, Params::new(), 0).await;
}
/// Checks if the context is already configured.