Worker: refactor, remove doneChan
field from Worker
struct
#99414
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#99414
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Remove
doneChan
field fromWorker
struct, and the handling of that field. Its intended use overlaps with the globalcontext.Context
, and thus only one of the two needs to be kept.Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @dr.sybren
Changed status from 'Confirmed' to: 'Archived'
Archiving this task as it doesn't paint the entire picture.
As the Worker changes state, it spawns a new goroutine for that state, then ends the current one. This means there is not a single loop that exits on shutdown, like the task description would suggest.