优化代码

This commit is contained in:
刘祥超
2022-03-19 12:17:28 +08:00
parent 0e732e4821
commit 14eda8c276
3 changed files with 15 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
//go:build !linux && !darwin
// +build !linux,!darwin
package utils
@@ -8,6 +9,6 @@ func SetRLimit(limit uint64) error {
}
// set best resource limit value
func SetSuitableRLimit() {
func SetSuitableRLimit() error {
return nil
}