mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-10 20:26:19 +00:00
disable traffic counting
This commit is contained in:
parent
77f3a25bfe
commit
a7747f7622
1 changed files with 5 additions and 5 deletions
10
web/web.go
10
web/web.go
|
@ -254,11 +254,11 @@ func (s *Server) startTask() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
go func() {
|
// go func() {
|
||||||
time.Sleep(time.Second * 5)
|
// time.Sleep(time.Second * 5)
|
||||||
// Statistics every 10 seconds, start the delay for 5 seconds for the first time, and staggered with the time to restart xray
|
// // Statistics every 10 seconds, start the delay for 5 seconds for the first time, and staggered with the time to restart xray
|
||||||
s.cron.AddJob("@every 10s", job.NewXrayTrafficJob())
|
// s.cron.AddJob("@every 10s", job.NewXrayTrafficJob())
|
||||||
}()
|
// }()
|
||||||
|
|
||||||
// check client ips from log file every 10 sec
|
// check client ips from log file every 10 sec
|
||||||
s.cron.AddJob("@every 10s", job.NewCheckClientIpJob())
|
s.cron.AddJob("@every 10s", job.NewCheckClientIpJob())
|
||||||
|
|
Loading…
Reference in a new issue