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

Pause unsynced clock when no sources are available #3830

Open
toots opened this issue Mar 27, 2024 · 0 comments
Open

Pause unsynced clock when no sources are available #3830

toots opened this issue Mar 27, 2024 · 0 comments

Comments

@toots
Copy link
Member

toots commented Mar 27, 2024

There's a gap in our clock implementation where unsynced clocks will keep spinning when no sources are available which causes a lot of issues with CPU burn and livelock.

Typical use-case would be a full unsynced file conversion. After the output goes down, shutdown can be called and the program properly exists.

We should find a way to pause the clock when all sources are unavailable and resume it when this changes back. This gets complicated because some source may currently need an action from the clock to be ready again.

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