cleanup comments

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Vadim Iskuchekov 2025-09-14 12:10:43 +02:00 committed by GitHub
parent 8cbbbeb5e8
commit 143c70534b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,16 +277,6 @@ func (s *Server) startTask() {
// Run once a month, midnight, first of month
s.cron.AddJob("@monthly", job.NewPeriodicTrafficResetJob("monthly"))
// TODO: Client traffic reset jobs
// logger.Info("Scheduling periodic client traffic reset jobs")
// Run once a day, midnight
// TODO: for testing, run every 10s, change back to daily later
// s.cron.AddJob("@every 10s", job.NewPeriodicClientTrafficResetJob("daily"))
// s.cron.AddJob("* * * * *", job.NewPeriodicClientTrafficResetJob("daily"))
// Run once a week, midnight between Sat/Sun
// s.cron.AddJob("@weekly", job.NewPeriodicClientTrafficResetJob("weekly"))
// Run once a month, midnight, first of month
// s.cron.AddJob("@monthly", job.NewPeriodicClientTrafficResetJob("monthly"))
}
// Make a traffic condition every day, 8:30