mirror of
https://github.com/gotoeasy/glogcenter.git
synced 2025-09-15 12:58:34 +08:00
通道缓冲默认64
This commit is contained in:
parent
88ea2c458c
commit
34507a7826
@ -34,9 +34,9 @@ func init() {
|
|||||||
mapStorage = make(map[string](*LdbStorage))
|
mapStorage = make(map[string](*LdbStorage))
|
||||||
|
|
||||||
// 检查环境变量设定配置
|
// 检查环境变量设定配置
|
||||||
timeout = cmn.GetenvInt("TIMEOUT", 300) // 默认秒
|
timeout = cmn.GetenvInt("TIMEOUT", 300) // 默认秒
|
||||||
storeChanBuffer = cmn.GetenvInt("STORE_CHAN_BUFFER", 1024) // 默认秒
|
storeChanBuffer = cmn.GetenvInt("STORE_CHAN_BUFFER", 64) // 默认秒
|
||||||
storePath = cmn.Getenv("STORE_PATH", "e:\\222") // 默认‘/glogcenter’
|
storePath = cmn.Getenv("STORE_PATH", "e:\\222") // 默认‘/glogcenter’
|
||||||
}
|
}
|
||||||
|
|
||||||
func getCacheStore(cacheName string) *LdbStorage {
|
func getCacheStore(cacheName string) *LdbStorage {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user