Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ee/control/actionqueue/actionqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ func (aq *ActionQueue) runCleanup() {
}

func (aq *ActionQueue) StopCleanup(err error) {
aq.cancel()
if aq.cancel != nil {
aq.cancel()
}
}
Comment on lines +178 to 181

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably also want a lock around aq.cancel to avoid flaky data race failures in tests?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It passed CI, do you still think we need it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, might as well if we're updating this area anyway


func (aq *ActionQueue) storeActionRecord(actionToStore action) {
Expand Down
Loading