1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55:58 +01:00
galene/limit/limit.go
Juliusz Chroboczek 90a0a2e318 Don't attempt to set file descriptor limit.
Recent versions of Go do it at startup, so only print
a warning if the limit is too low.
2024-05-27 00:02:31 +02:00

7 lines
87 B
Go

//go:build !unix
package limit
func Nofile() (uint64, error) {
return 0xFFFF, nil
}