mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
Use the right duration
This commit is contained in:
@@ -313,7 +313,7 @@ func (o *Olm) StartTunnel(config TunnelConfig) {
|
|||||||
userToken,
|
userToken,
|
||||||
config.OrgID,
|
config.OrgID,
|
||||||
config.Endpoint,
|
config.Endpoint,
|
||||||
30, // 30 seconds
|
30 * time.Second, // 30 seconds
|
||||||
config.PingTimeoutDuration,
|
config.PingTimeoutDuration,
|
||||||
websocket.WithPingDataProvider(func() map[string]any {
|
websocket.WithPingDataProvider(func() map[string]any {
|
||||||
o.metaMu.Lock()
|
o.metaMu.Lock()
|
||||||
|
|||||||
Reference in New Issue
Block a user