mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-12 04:46:46 +02:00
Change heartbeat timeout (#2598)
This commit is contained in:
parent
1ef51a4ffa
commit
b4c8cf0a67
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
heartbeatTimeout = healthCheckInterval + 3*time.Second
|
heartbeatTimeout = healthCheckInterval + 10*time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
// Receiver is a healthcheck receiver
|
// Receiver is a healthcheck receiver
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
healthCheckInterval = 25 * time.Second
|
healthCheckInterval = 25 * time.Second
|
||||||
healthCheckTimeout = 5 * time.Second
|
healthCheckTimeout = 20 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
// Sender is a healthcheck sender
|
// Sender is a healthcheck sender
|
||||||
|
Loading…
x
Reference in New Issue
Block a user