liquidsoap icon indicating copy to clipboard operation
liquidsoap copied to clipboard

Pause unsynced clock when no sources are available

Open toots opened this issue 3 months ago • 0 comments

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.

toots avatar Mar 27 '24 15:03 toots