engine/vars/elastic.go

9 lines
102 B
Go

package vars
import "runtime"
var (
ESNumWorkers int = runtime.NumCPU()
ESFlushBytes int = 5e+6
)