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

feat: add timeout to individual requests in batch call #348

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

pratik151192
Copy link
Contributor

@pratik151192 pratik151192 commented Aug 30, 2023

This PR adds a request_timeout for each individual set, get, or delete calls we make within the batch operations. This is just a hardening mechanism such that one if of the go-routines doesn't hang indefinitely and blocks the entire operation.

@pratik151192 pratik151192 changed the base branch from main to fix-loop-chans August 31, 2023 00:57
@pratik151192 pratik151192 marked this pull request as ready for review August 31, 2023 01:03
Base automatically changed from fix-loop-chans to main August 31, 2023 16:18
@pratik151192 pratik151192 dismissed eaddingtonwhite’s stale review August 31, 2023 16:18

The base branch was changed.

@pratik151192
Copy link
Contributor Author

@eaddingtonwhite just stupid git rebase stuff

@pratik151192 pratik151192 merged commit 561f045 into main Aug 31, 2023
6 checks passed
@pratik151192 pratik151192 deleted the add-timeout-batch branch August 31, 2023 16:36
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