ceremonyclient/go-libp2p/p2p/host/resource-manager/sys_not_unix.go

12 lines
279 B
Go
Raw Normal View History

2023-08-21 03:50:38 +00:00
//go:build !linux && !darwin && !windows
package rcmgr
import "runtime"
// TODO: figure out how to get the number of file descriptors on Windows and other systems
func getNumFDs() int {
log.Warnf("cannot determine number of file descriptors on %s", runtime.GOOS)
return 0
}