feat(traffic): implement traffic reset logic for subscription cycles
This commit is contained in:
committed by
Leif Draven
parent
b83ce5090a
commit
0e8e2d442e
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user