Skip to content

Commit 1fa8735

Browse files
committed
client: Tweak the keepalive interval and timeout
Suggested-by: Roei Erez <@roeierez> Suggested-by: Jesse De Wit <@JssDWt>
1 parent bd8779a commit 1fa8735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/gl-client/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub use lightning_signer::bitcoin;
7070
pub use lightning_signer::lightning;
7171
pub use lightning_signer::lightning_invoice;
7272

73-
pub(crate) const TCP_KEEPALIVE: Duration = Duration::from_secs(5);
74-
pub(crate) const TCP_KEEPALIVE_TIMEOUT: Duration = Duration::from_secs(90);
73+
pub(crate) const TCP_KEEPALIVE: Duration = Duration::from_secs(1);
74+
pub(crate) const TCP_KEEPALIVE_TIMEOUT: Duration = Duration::from_secs(5);
7575

7676
pub mod runes;

0 commit comments

Comments
 (0)