engine/vars/elastic.go

9 lines
102 B
Go
Raw Permalink Normal View History

2024-02-11 01:31:01 +08:00
package vars
import "runtime"
var (
ESNumWorkers int = runtime.NumCPU()
ESFlushBytes int = 5e+6
)