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 max_batch_request_num feature #672

Merged
merged 14 commits into from
Jul 28, 2023
Merged

Conversation

170210
Copy link
Contributor

@170210 170210 commented Jul 20, 2023

Description

This PR has following changes.

  • add a limitation feature called max_batch_request_num to control the requests size

Closes: #649

@CLAassistant
Copy link

CLAassistant commented Jul 20, 2023

CLA assistant check
All committers have signed the CLA.

@170210 170210 force-pushed the feature/issue_649 branch from 5a089a4 to 249976c Compare July 20, 2023 01:35
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #672 (287be47) into main (1cab268) will increase coverage by 0.07%.
Report is 6 commits behind head on main.
The diff coverage is 88.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #672      +/-   ##
==========================================
+ Coverage   66.51%   66.59%   +0.07%     
==========================================
  Files         283      283              
  Lines       37818    37869      +51     
==========================================
+ Hits        25155    25219      +64     
+ Misses      10868    10854      -14     
- Partials     1795     1796       +1     
Files Changed Coverage Δ
cmd/ostracon/commands/light.go 15.72% <0.00%> (-0.10%) ⬇️
config/toml.go 74.19% <ø> (ø)
rpc/core/routes.go 0.00% <ø> (ø)
rpc/jsonrpc/server/http_json_handler.go 67.36% <64.70%> (-0.27%) ⬇️
config/config.go 79.36% <100.00%> (+0.16%) ⬆️
node/node.go 61.49% <100.00%> (+0.07%) ⬆️
rpc/jsonrpc/server/http_server.go 91.01% <100.00%> (+1.40%) ⬆️
rpc/jsonrpc/server/ws_handler.go 35.71% <100.00%> (+0.77%) ⬆️

... and 12 files with indirect coverage changes

@170210 170210 self-assigned this Jul 20, 2023
@170210 170210 added C: enhancement Classification: New feature or its request, or improvement in maintainability of code D: good first issue Decision: Good for newcomers labels Jul 20, 2023
@170210 170210 force-pushed the feature/issue_649 branch from 249976c to fd8f1c6 Compare July 20, 2023 05:12
@170210 170210 marked this pull request as ready for review July 20, 2023 05:15
@170210 170210 requested review from torao, tnasu and ulbqb as code owners July 20, 2023 05:15
@170210 170210 marked this pull request as draft July 20, 2023 07:16
@170210 170210 force-pushed the feature/issue_649 branch from fd8f1c6 to 535d824 Compare July 20, 2023 09:46
@170210 170210 marked this pull request as ready for review July 20, 2023 09:48
@170210 170210 marked this pull request as draft July 21, 2023 02:02
@170210 170210 force-pushed the feature/issue_649 branch from 9dac9e3 to e2d3516 Compare July 21, 2023 04:57
@170210 170210 marked this pull request as ready for review July 21, 2023 04:57
@170210 170210 force-pushed the feature/issue_649 branch 3 times, most recently from 34f8849 to f135d56 Compare July 25, 2023 01:57
@170210 170210 force-pushed the feature/issue_649 branch from 8d884ef to 5c183d7 Compare July 25, 2023 02:07
@170210 170210 force-pushed the feature/issue_649 branch from 5c183d7 to 785b82f Compare July 25, 2023 02:12
@170210 170210 requested a review from zemyblue July 25, 2023 05:41
config/config.go Outdated Show resolved Hide resolved
@170210 170210 changed the title feat: add max_request_batch_request feature feat: add max_batch_request_num feature Jul 27, 2023
@170210 170210 requested a review from zemyblue July 27, 2023 08:34
node/node.go Outdated Show resolved Hide resolved
rpc/jsonrpc/server/common_test.go Outdated Show resolved Hide resolved
rpc/jsonrpc/server/http_json_handler.go Outdated Show resolved Hide resolved
@170210 170210 force-pushed the feature/issue_649 branch from ab6d002 to 6790199 Compare July 27, 2023 09:24
@170210 170210 requested a review from ulbqb July 27, 2023 09:27
node/node.go Show resolved Hide resolved
@170210 170210 requested a review from tnasu July 27, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: enhancement Classification: New feature or its request, or improvement in maintainability of code D: good first issue Decision: Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jsonrpc 2.0 batch request limits required
5 participants