newts not being on when olm is started

This commit is contained in:
Owen
2025-04-13 21:28:25 -04:00
parent 61b7feef80
commit ad8a94fdc8
3 changed files with 258 additions and 73 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: 500 * time.Millisecond,
maxAttempts: 3,
timeout: 1000 * time.Millisecond,
maxAttempts: 5,
privateKey: privateKey,
wsClient: wsClient,
device: device,