Improve network reset

This commit is contained in:
世界
2026-08-30 17:41:43 +08:00
parent 3afd290278
commit e4c8b49eaf
26 changed files with 250 additions and 62 deletions
+4
View File
@@ -35,6 +35,10 @@ func NewSearcher(config Config) (Searcher, error) {
return searcher, nil
}
func (s *linuxSearcher) ResetCache() {
s.processPathCache.cache.Purge()
}
func (s *linuxSearcher) Close() error {
var errs []error
for _, conn := range s.diagConns {