Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Backport 5.2] gitserver: Prevent concurrent writes to errs#57415

Merged
keegancsmith merged 1 commit into
5.2from
backport-57316-to-5.2
Oct 6, 2023
Merged

[Backport 5.2] gitserver: Prevent concurrent writes to errs#57415
keegancsmith merged 1 commit into
5.2from
backport-57316-to-5.2

Conversation

@sourcegraph-release-bot

Copy link
Copy Markdown
Collaborator

This change switches to conc for the pooling, to prevent multiple go routines potentially writing to the same errs slice.

Test plan

Manually checked the endpoint still works.
Backport 8f8eff9 from #57316

This change switches to conc for the pooling, to prevent multiple go routines potentially writing to the same errs slice.

(cherry picked from commit 8f8eff9)
@eseliger eseliger requested a review from ggilmore October 6, 2023 12:34
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff f9eb9cf...2b6a426.

Notify File(s)
@eseliger internal/gitserver/BUILD.bazel
internal/gitserver/client.go

@sourcegraph-bot

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants