Fix deadlock on startup #22

Open
dexterlb wants to merge 4 commits from set-ready-deadlock into main
Member

The Status channel is only set on sources, so when the FFmpegSink produces a status it deadlocks on send-to-nil-channel.

Also add some profiling URLs to the web server that let me debug what is deadlocked.

The Status channel is only set on sources, so when the FFmpegSink produces a status it deadlocks on send-to-nil-channel. Also add some profiling URLs to the web server that let me debug what is deadlocked.
enable pprof http
Some checks failed
ci/woodpecker/push/nix Pipeline failed
ci/woodpecker/pr/nix Pipeline failed
875bb6f554
Merge branch 'main' into set-ready-deadlock
Some checks failed
ci/woodpecker/pr/nix Pipeline failed
ci/woodpecker/push/nix Pipeline failed
e0358b8315
Merge branch 'main' into set-ready-deadlock
All checks were successful
ci/woodpecker/pr/nix Pipeline was successful
ci/woodpecker/push/nix Pipeline was successful
5083853d95
All checks were successful
ci/woodpecker/pr/nix Pipeline was successful
ci/woodpecker/push/nix Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin set-ready-deadlock:set-ready-deadlock
git switch set-ready-deadlock

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff set-ready-deadlock
git switch set-ready-deadlock
git rebase main
git switch main
git merge --ff-only set-ready-deadlock
git switch set-ready-deadlock
git rebase main
git switch main
git merge --no-ff set-ready-deadlock
git switch main
git merge --squash set-ready-deadlock
git switch main
git merge --ff-only set-ready-deadlock
git switch main
git merge set-ready-deadlock
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
video/fazantix!22
No description provided.