优化代码

This commit is contained in:
刘祥超
2023-08-08 16:46:17 +08:00
parent 51f91e1603
commit 6de2834a8c
28 changed files with 71 additions and 87 deletions

View File

@@ -25,5 +25,5 @@ func SetRLimit(limit uint64) error {
// set best resource limit value
func SetSuitableRLimit() {
SetRLimit(4096 * 100) // 1M=100Files
_ = SetRLimit(4096 * 100) // 1M=100Files
}