Skip to content

Remove globals & refactor into structs - #52

Merged
mikejholly merged 3 commits into
earthly-nextfrom
mh/next-inflight-lock
Mar 25, 2024
Merged

mikejholly merged 3 commits into
earthly-nextfrom
mh/next-inflight-lock

Conversation

@mikejholly

Copy link
Copy Markdown
Contributor

No description provided.

@alexcb
alexcb self-requested a review March 25, 2024 18:11
Base automatically changed from mh/next-cache-progress to earthly-next March 25, 2024 18:16
Comment thread solver/simple.go Outdated
}

func (s *simpleSolver) exploreVertices(e Edge) ([]digest.Digest, map[digest.Digest]Vertex) {
type flightControl struct {

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.

Can we use a different name so that this doesn't conflict with the util/flightcontrol package? Otherwise it could be confusing understanding which flightcontrol is being referenced (either in code, or conversations about the code)

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.

Ha, sure. I used that name because I couldn't think of a better one. Any suggestions?

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.

namedLockManager, parallelGuard, executionLocker?

@mikejholly
mikejholly merged commit 194ece3 into earthly-next Mar 25, 2024
@mikejholly
mikejholly deleted the mh/next-inflight-lock branch March 25, 2024 19:02
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

Successfully merging this pull request may close these issues.

2 participants