feat(traffic): implement traffic reset logic for subscription cycles

This commit is contained in:
Chang lue Tsen
2025-07-18 11:34:32 -04:00
committed by Leif Draven
parent b83ce5090a
commit 0e8e2d442e
4 changed files with 549 additions and 0 deletions
+3
View File
@@ -33,4 +33,7 @@ func RegisterHandlers(mux *asynq.ServeMux, serverCtx *svc.ServiceContext) {
// Schedule total server data
mux.Handle(types.SchedulerTotalServerData, traffic.NewServerDataLogic(serverCtx))
// Schedule reset traffic
mux.Handle(types.SchedulerResetTraffic, traffic.NewResetTrafficLogic(serverCtx))
}