Skip to content

Commit ef82b5a

Browse files
authored
update ws keep-alive docs (#762)
1 parent 092a985 commit ef82b5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

juniper_graphql_ws/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ impl<CtxT> ConnectionConfig<CtxT> {
7676
}
7777

7878
/// Specifies the interval at which to send keep-alives. Specifying a zero duration will
79-
/// disable keep-alives. By default, keep-alives are sent every
80-
/// 30 seconds.
79+
/// disable keep-alives. By default, keep-alives are sent every 15 seconds.
8180
pub fn with_keep_alive_interval(mut self, interval: Duration) -> Self {
8281
self.keep_alive_interval = interval;
8382
self

0 commit comments

Comments
 (0)