Skip to content

Commit

Permalink
Merge pull request #227 from spacemeshos/increase-keep-alive-interval
Browse files Browse the repository at this point in the history
[service] Increase keep-alive interval to 10min
  • Loading branch information
poszu committed Mar 26, 2024
2 parents aea8a6f + 565eb29 commit 7a6ef53
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -11,7 +11,7 @@ members = [

[package]
name = "post-rs"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion certifier/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "certifier"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ffi/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "post-cbindings"
version = "0.7.5"
version = "0.7.6"
edition = "2021"


Expand Down
2 changes: 1 addition & 1 deletion initializer/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "initializer"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion profiler/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "profiler"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion scrypt-ocl/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "scrypt-ocl"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion service/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "service"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion service/src/client.rs
Expand Up @@ -70,7 +70,7 @@ impl<S: PostService> ServiceClient<S> {
) -> eyre::Result<Self> {
let endpoint = Channel::builder(address.parse()?)
.keep_alive_timeout(Duration::from_secs(20))
.http2_keep_alive_interval(Duration::from_secs(60));
.http2_keep_alive_interval(Duration::from_secs(10 * 60));
let endpoint = match tls {
Some((domain, cert, identity)) => {
let domain = match domain {
Expand Down

0 comments on commit 7a6ef53

Please sign in to comment.