mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 10:40:25 +08:00
优化代码
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user