change: add debug log

This commit is contained in:
debugtalk
2021-12-30 16:30:58 +08:00
parent 3f709b4d71
commit 2c69966c2f

View File

@@ -75,6 +75,7 @@ func init() {
// set resource limit
// ulimit -n 10240
func setUlimit() {
log.Info().Str("runtime.GOOS", runtime.GOOS).Msg("check GOOS")
if runtime.GOOS == "windows" {
log.Warn().Msg("windows does not support setting ulimit")
return