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

Reapply "gitserver(client): Reintroduce 500 maximum connections limit"#63134

Merged
eseliger merged 3 commits into
mainfrom
es/limit-again
Jun 7, 2024
Merged

Reapply "gitserver(client): Reintroduce 500 maximum connections limit"#63134
eseliger merged 3 commits into
mainfrom
es/limit-again

Conversation

@eseliger

@eseliger eseliger commented Jun 6, 2024

Copy link
Copy Markdown
Member

The first attempt didn't work as there are other exit conditions for the stream version than just calling RecvMsg until io.EOF. I found that gRPC has a callback for onFinish, and this seems to work properly locally.

See commit number 2 for the diff over the initial implementation.

Test plan

Verified locally that all connection counts drop to zero eventually.

@eseliger eseliger requested a review from a team June 6, 2024 18:38
@cla-bot cla-bot Bot added the cla-signed label Jun 6, 2024
@github-actions github-actions Bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Jun 6, 2024
@eseliger eseliger merged commit 246b53e into main Jun 7, 2024
@eseliger eseliger deleted the es/limit-again branch June 7, 2024 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants