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: timeout for rpc server #1060

Merged
merged 2 commits into from
Apr 26, 2023
Merged

Conversation

blckngm
Copy link
Contributor

@blckngm blckngm commented Apr 25, 2023

Body size limit is already provided by axum. Close #1054.

@blckngm blckngm requested a review from a team as a code owner April 25, 2023 12:37
@@ -19,9 +19,6 @@ gw-traits = { path = "../../crates/traits/" }
gw-generator = { path = "../../crates/generator/" }
gw-builtin-binaries = { path = "../../crates/builtin-binaries" }

jsonrpc-utils = { version = "=0.2.0-preview.4", features = ["client"] }
jsonrpc-utils-macros = "=0.2.0-preview.4"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No longer necessary because any 0.2 version should be compatible.

Or we should use a lockfile for ployjuice-tests.

@@ -44,6 +44,7 @@ jemalloc-ctl = { package = "tikv-jemalloc-ctl", version = "0.4.2" }
jemalloc-sys = { package = "tikv-jemalloc-sys", version = "0.4.2" }
errno = "*"
tracing = { version = "0.1", features = ["attributes"] }
jsonrpc-utils = "0.2.0-preview.2"
jsonrpc-utils = { version = "0.2.0", features = ["server", "macros", "axum"] }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated this while we are at it.

@Flouse Flouse requested a review from jjyr April 25, 2023 15:14
@jjyr jjyr enabled auto-merge April 26, 2023 07:25
@jjyr jjyr requested a review from a team April 26, 2023 07:26
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.

[BUG] currently does not support client body read timeout
3 participants