From 1745c7194b853efe73ee4164f87761d77cb67be9 Mon Sep 17 00:00:00 2001 From: Chang lue Tsen Date: Mon, 1 Sep 2025 08:14:57 -0400 Subject: [PATCH] feat(routes): add handler for scheduled traffic statistics --- queue/handler/routes.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/queue/handler/routes.go b/queue/handler/routes.go index 15bc8f1..b4ead3c 100644 --- a/queue/handler/routes.go +++ b/queue/handler/routes.go @@ -39,4 +39,7 @@ func RegisterHandlers(mux *asynq.ServeMux, serverCtx *svc.ServiceContext) { // ScheduledBatchSendEmail mux.Handle(types.ScheduledBatchSendEmail, emailLogic.NewBatchEmailLogic(serverCtx)) + + // ScheduledTrafficStat + mux.Handle(types.SchedulerTrafficStat, traffic.NewStatLogic(serverCtx)) }