通道缓冲默认64

This commit is contained in:
gotoeasy 2022-06-22 20:45:33 +08:00
parent 88ea2c458c
commit 34507a7826

View File

@ -34,9 +34,9 @@ func init() {
mapStorage = make(map[string](*LdbStorage))
// 检查环境变量设定配置
timeout = cmn.GetenvInt("TIMEOUT", 300) // 默认秒
storeChanBuffer = cmn.GetenvInt("STORE_CHAN_BUFFER", 1024) // 默认秒
storePath = cmn.Getenv("STORE_PATH", "e:\\222") // 默认‘/glogcenter
timeout = cmn.GetenvInt("TIMEOUT", 300) // 默认秒
storeChanBuffer = cmn.GetenvInt("STORE_CHAN_BUFFER", 64) // 默认秒
storePath = cmn.Getenv("STORE_PATH", "e:\\222") // 默认‘/glogcenter
}
func getCacheStore(cacheName string) *LdbStorage {