Skip to content

Commit

Permalink
fix: tcpreuse: remove windows specific code
Browse files Browse the repository at this point in the history
Unclear why, but this causes a lot of CPU usage according to
@aschmahmann
  • Loading branch information
MarcoPolo committed Nov 14, 2024
1 parent 7268c98 commit 25fc05d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 50 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !unix && !windows
//go:build !unix

package sampledconn

Expand Down
49 changes: 0 additions & 49 deletions p2p/transport/tcpreuse/internal/sampledconn/sampledconn_windows.go

This file was deleted.

0 comments on commit 25fc05d

Please sign in to comment.