源码编译版本增加节点数限制

This commit is contained in:
GoEdgeLab
2023-12-24 11:28:41 +08:00
parent dd0e94f289
commit fa3dbbcd81
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
//go:build !plus
package teaconst
const (
// DefaultMaxNodes 节点数限制
DefaultMaxNodes int32 = 50
)