Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added inflightRequestsLimit client config to Node #2452

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

GilboaAWS
Copy link
Collaborator

Adding support for this client config inflightRequestsLimit
The maximum number of concurrent requests allowed to be in-flight (sent but not yet completed).
This limit is used to control the memory usage and prevent the client from overwhelming the server or getting stuck in case of a queue backlog.

If not set, a default value will be used.

Issue link
This Pull Request is linked to issue (URL): #1253

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • Destination branch is correct - main or release
  • Commits will be squashed upon merging.

@GilboaAWS GilboaAWS requested a review from a team as a code owner October 14, 2024 13:00
@GilboaAWS GilboaAWS requested a review from avifenesh October 14, 2024 13:01
@GilboaAWS GilboaAWS force-pushed the inflight_node_1.2 branch 3 times, most recently from 0438a1f to 0281fab Compare October 15, 2024 07:45
Signed-off-by: GilboaAWS <gilboabg@amazon.com>
Copy link
Collaborator

@avifenesh avifenesh left a comment

Choose a reason for hiding this comment

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

Comments inside

node/tests/GlideClient.test.ts Outdated Show resolved Hide resolved
node/tests/GlideClient.test.ts Show resolved Hide resolved
node/tests/GlideClusterClient.test.ts Outdated Show resolved Hide resolved
node/tests/GlideClusterClient.test.ts Show resolved Hide resolved
Signed-off-by: GilboaAWS <gilboabg@amazon.com>
Copy link
Collaborator

@avifenesh avifenesh left a comment

Choose a reason for hiding this comment

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

Looks good!

@GilboaAWS GilboaAWS merged commit 04f0910 into valkey-io:release-1.2 Oct 15, 2024
9 checks passed
Muhammad-awawdi-amazon pushed a commit to Muhammad-awawdi-amazon/valkey-glide that referenced this pull request Oct 15, 2024
* Added inflightRequestsLimit client config to Node

---------

Signed-off-by: GilboaAWS <gilboabg@amazon.com>
Signed-off-by: Muhammad Awawdi <Mawawdi@amazon.com>
avifenesh pushed a commit to avifenesh/valkey-glide that referenced this pull request Oct 21, 2024
* Added inflightRequestsLimit client config to Node

---------

Signed-off-by: GilboaAWS <gilboabg@amazon.com>
avifenesh pushed a commit to avifenesh/valkey-glide that referenced this pull request Oct 21, 2024
* Added inflightRequestsLimit client config to Node

---------

Signed-off-by: GilboaAWS <gilboabg@amazon.com>
Muhammad-awawdi-amazon pushed a commit to Muhammad-awawdi-amazon/valkey-glide that referenced this pull request Oct 22, 2024
* Added inflightRequestsLimit client config to Node

---------

Signed-off-by: GilboaAWS <gilboabg@amazon.com>
@GilboaAWS GilboaAWS deleted the inflight_node_1.2 branch October 27, 2024 10:24
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