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(max_request_size): add max_request_size to limit size of requests #78

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

sumo-drosiek
Copy link
Contributor

Adds records_per_request on the top of retry changes. This is going to limit maximum number of records in request. This is because for bigger chunks, there is possibility to get send_timeout because of cancelling the request by receiver

@sumo-drosiek sumo-drosiek requested a review from a team as a code owner April 21, 2022 13:40
Comment on lines 920 to 925
endpoint #{endpoint}
records_per_request -5
},
%{
endpoint #{endpoint}
records_per_request 0

Choose a reason for hiding this comment

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

You should update this to use max_request_size instead.

@swiatekm swiatekm self-requested a review April 21, 2022 15:11
@sumo-drosiek sumo-drosiek changed the title feat(records_per_request): add records_per_request to limit number of records per request feat(records_per_request): add max_request_size to limit size of requests Apr 22, 2022
@sumo-drosiek sumo-drosiek force-pushed the drosiek-split-request branch from 65c738a to 73457bf Compare April 22, 2022 06:42
@sumo-drosiek sumo-drosiek changed the title feat(records_per_request): add max_request_size to limit size of requests feat(max_request_size): add max_request_size to limit size of requests Apr 22, 2022
Base automatically changed from drosiek-retry-forever to main April 22, 2022 07:07
@sumo-drosiek sumo-drosiek force-pushed the drosiek-split-request branch from ece48e2 to e318625 Compare April 22, 2022 07:14
@sumo-drosiek sumo-drosiek merged commit 800497f into main Apr 22, 2022
@sumo-drosiek sumo-drosiek deleted the drosiek-split-request branch April 22, 2022 07:17
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.

3 participants