fix: skip set ulimit on windows

This commit is contained in:
debugtalk
2021-12-30 16:40:04 +08:00
parent 2c69966c2f
commit 025e84ff81
3 changed files with 46 additions and 33 deletions
+12
View File
@@ -0,0 +1,12 @@
// +build windows
package boomer
import (
"github.com/rs/zerolog/log"
)
// set resource limit
func SetUlimit(limit uint64) {
log.Warn().Msg("windows does not support setting ulimit")
}