mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-28 08:26:35 +08:00
使用KV存储实现指标统计
This commit is contained in:
@@ -119,7 +119,7 @@ func (this *IPListManager) init() {
|
||||
|
||||
var db IPListDB
|
||||
var err error
|
||||
if sqliteErr == nil {
|
||||
if sqliteErr == nil || !teaconst.EnableKVCacheStore {
|
||||
db, err = NewSQLiteIPList()
|
||||
} else {
|
||||
db, err = NewKVIPList()
|
||||
|
||||
Reference in New Issue
Block a user