Fix olm initially missing private key

This commit is contained in:
Owen
2025-04-18 16:56:21 -04:00
parent ad8a94fdc8
commit 2159371371
2 changed files with 3 additions and 2 deletions

View File

@@ -46,8 +46,8 @@ func NewPeerMonitor(callback PeerMonitorCallback, privateKey string, wsClient *w
configs: make(map[int]*WireGuardConfig),
callback: callback,
interval: 1 * time.Second, // Default check interval
timeout: 1000 * time.Millisecond,
maxAttempts: 5,
timeout: 2500 * time.Millisecond,
maxAttempts: 8,
privateKey: privateKey,
wsClient: wsClient,
device: device,