mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 22:09:09 +02:00
Increase system info gathering timeout from 15s to 60s
This commit is contained in:
@@ -88,7 +88,7 @@ const (
|
|||||||
// check gathering. The gathering runs uncancellable system calls (process scan,
|
// check gathering. The gathering runs uncancellable system calls (process scan,
|
||||||
// exec, os.Stat); without this bound a single stuck call freezes handleSync, and
|
// exec, os.Stat); without this bound a single stuck call freezes handleSync, and
|
||||||
// thus syncMsgMux, for as long as the call hangs (observed multi-minute freezes).
|
// thus syncMsgMux, for as long as the call hangs (observed multi-minute freezes).
|
||||||
systemInfoTimeout = 15 * time.Second
|
systemInfoTimeout = 60 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrResetConnection = fmt.Errorf("reset connection")
|
var ErrResetConnection = fmt.Errorf("reset connection")
|
||||||
|
|||||||
Reference in New Issue
Block a user