feat: add receiver rate limiting (refs #64)
Some checks failed
check / check (push) Failing after 59s
Some checks failed
check / check (push) Failing after 59s
This commit is contained in:
@@ -159,7 +159,7 @@ func (s *Server) setupSourceRoutes() {
|
||||
}
|
||||
|
||||
func (s *Server) setupWebhookRoutes() {
|
||||
s.router.HandleFunc(
|
||||
s.router.With(s.mw.ReceiverRateLimit()).HandleFunc(
|
||||
"/webhook/{uuid}",
|
||||
s.h.HandleWebhook(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user