remove context timeout

This commit is contained in:
Alex
2025-02-07 02:55:42 -05:00
committed by Cuong Manh Le
parent 7a23f82192
commit e1301ade96

View File

@@ -1274,8 +1274,8 @@ func (p *prog) reinitializeOSResolver(networkChange bool) {
p.recoveryCancel()
p.recoveryCancel = nil
}
// Create a new context (with a timeout) for this recovery wait.
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
ctx, cancel := context.WithCancel(context.Background())
p.recoveryCancel = cancel
p.recoveryCancelMu.Unlock()