Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Rescheduler to an ops charmed library (pip library could be better) #124

Open
addyess opened this issue May 24, 2024 · 0 comments
Open

Comments

@addyess
Copy link
Contributor

addyess commented May 24, 2024

Enhancement Proposal

As part of #118 a library was created from work that was started by @yanksyoon and @cbartz and various others. The library creates a systemd one-shot service and timer which calls back into the charm at a prescribed time outside of the purview of jujud.

This library could be useful to other charm developers since it does a nice job of rescheduling any event rather than using event.defer() while avoiding the drawbacks of event.defer() b/c events can also be cancelled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant