Skip to content

Commit 767311e

Browse files
committed
[WIP] Fix: performance issues
1 parent c51bdc5 commit 767311e

File tree

14 files changed

+852
-235
lines changed

14 files changed

+852
-235
lines changed

cloud.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const (
3939
// should be lower than the websocket response timeout set in cloud-api
4040
CloudOidcRequestTimeout = 10 * time.Second
4141
// WebsocketPingInterval is the interval at which the websocket client sends ping messages to the cloud
42-
WebsocketPingInterval = 15 * time.Second
42+
// Increased to 30 seconds for constrained environments to reduce overhead
43+
WebsocketPingInterval = 30 * time.Second
4344
)
4445

4546
var (

0 commit comments

Comments
 (0)