We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f4967 commit 3cf8466Copy full SHA for 3cf8466
src/main/kotlin/net/leanix/githubagent/config/WebSocketClientConfig.kt
@@ -17,6 +17,7 @@ import org.springframework.web.socket.client.standard.StandardWebSocketClient
17
import org.springframework.web.socket.messaging.WebSocketStompClient
18
import org.springframework.web.socket.sockjs.client.SockJsClient
19
import org.springframework.web.socket.sockjs.client.WebSocketTransport
20
+import java.time.Duration
21
import java.util.concurrent.ScheduledFuture
22
23
@Configuration
@@ -64,7 +65,7 @@ class WebSocketClientConfig(
64
65
}.onFailure {
66
logger.error("Failed to send heartbeat: ${it.message}")
67
}
- }, java.time.Duration.ofSeconds(30))
68
+ }, Duration.ofSeconds(60))
69
70
71
fun stopHeartbeat() {
0 commit comments