modelRT/constants/buffer.go

12 lines
271 B
Go
Raw Normal View History

// Package constants define constant variable
package constants
import "time"
const (
// SendMaxBatchSize define maximum buffer capacity
SendMaxBatchSize = 100
// SendMaxBatchInterval define maximum aggregate latency
SendMaxBatchInterval = 200 * time.Millisecond
)