Increase system info gathering timeout from 15s to 60s

This commit is contained in:
Viktor Liu
2026-07-07 16:35:55 +02:00
parent 3aa6c02b93
commit 4ff5ed756d

View File

@@ -88,7 +88,7 @@ const (
// check gathering. The gathering runs uncancellable system calls (process scan,
// 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).
systemInfoTimeout = 15 * time.Second
systemInfoTimeout = 60 * time.Second
)
var ErrResetConnection = fmt.Errorf("reset connection")