Skip to content

Commit 3cf8466

Browse files
CID-3856: Addressing PR comments
1 parent c8f4967 commit 3cf8466

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/net/leanix/githubagent/config/WebSocketClientConfig.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import org.springframework.web.socket.client.standard.StandardWebSocketClient
1717
import org.springframework.web.socket.messaging.WebSocketStompClient
1818
import org.springframework.web.socket.sockjs.client.SockJsClient
1919
import org.springframework.web.socket.sockjs.client.WebSocketTransport
20+
import java.time.Duration
2021
import java.util.concurrent.ScheduledFuture
2122

2223
@Configuration
@@ -64,7 +65,7 @@ class WebSocketClientConfig(
6465
}.onFailure {
6566
logger.error("Failed to send heartbeat: ${it.message}")
6667
}
67-
}, java.time.Duration.ofSeconds(30))
68+
}, Duration.ofSeconds(60))
6869
}
6970

7071
fun stopHeartbeat() {

0 commit comments

Comments
 (0)