mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
change recorder type name and enable redis
This commit is contained in:
parent
b946283696
commit
3446bc62d8
@ -102,9 +102,10 @@ func (c *Node) Start() error {
|
||||
}()
|
||||
if c.config.EnableIpRecorder {
|
||||
switch c.config.IpRecorderConfig.Type {
|
||||
case "Record":
|
||||
case "Recorder":
|
||||
c.ipRecorder = iprecoder.NewRecorder(c.config.IpRecorderConfig.RecorderConfig)
|
||||
case "RedisConfig":
|
||||
case "Redis":
|
||||
c.ipRecorder = iprecoder.NewRedis(c.config.IpRecorderConfig.RedisConfig)
|
||||
}
|
||||
// report and fetch online ip list task
|
||||
c.onlineIpReportPeriodic = &task.Periodic{
|
||||
|
Loading…
Reference in New Issue
Block a user