Use the right duration

This commit is contained in:
Owen
2026-01-16 15:17:20 -08:00
parent f061596e5b
commit 352b122166

View File

@@ -313,7 +313,7 @@ func (o *Olm) StartTunnel(config TunnelConfig) {
userToken,
config.OrgID,
config.Endpoint,
30, // 30 seconds
30 * time.Second, // 30 seconds
config.PingTimeoutDuration,
websocket.WithPingDataProvider(func() map[string]any {
o.metaMu.Lock()