disable traffic counting

This commit is contained in:
lionarius 2024-10-05 02:44:43 +03:00
parent 77f3a25bfe
commit a7747f7622
No known key found for this signature in database
GPG key ID: 777D890B7990F2A0

View file

@ -254,11 +254,11 @@ func (s *Server) startTask() {
}
})
go func() {
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
s.cron.AddJob("@every 10s", job.NewXrayTrafficJob())
}()
// go func() {
// 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
// s.cron.AddJob("@every 10s", job.NewXrayTrafficJob())
// }()
// check client ips from log file every 10 sec
s.cron.AddJob("@every 10s", job.NewCheckClientIpJob())