This commit is contained in:
zhaoxiaorong
2025-02-07 13:01:38 +08:00
parent ebcdfe1ee8
commit 57a0d8ae81
52 changed files with 3313 additions and 0 deletions

8
vars/elastic.go Normal file
View File

@@ -0,0 +1,8 @@
package vars
import "runtime"
var (
ESNumWorkers int = runtime.NumCPU()
ESFlushBytes int = 5e+6
)