pub async fn register_worker<'a, E>( executor: E, config: &Config, worker: &WorkerContext, storage_type: &str, ) -> Result<(), Error>where E: Executor<'a, Database = Sqlite>,
Register a new worker in the database