From 7fa26343bde3e2d6b539b963f7231869afb379ff Mon Sep 17 00:00:00 2001 From: Umputun Date: Thu, 17 Jan 2019 15:07:47 -0600 Subject: [PATCH] fix a comment --- backend/app/rest/api/rest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/rest/api/rest.go b/backend/app/rest/api/rest.go index ffc34765..a55f6c37 100644 --- a/backend/app/rest/api/rest.go +++ b/backend/app/rest/api/rest.go @@ -237,7 +237,7 @@ func (s *Rest) routes() chi.Router { rauth.Mount("/admin", s.adminService.routes(authMiddleware.AdminOnly)) }) - // protected routes, throttled to 10/s by default, th + // protected routes, throttled to 10/s by default, controlled by external UpdateLimiter param rapi.Group(func(rauth chi.Router) { lmt := 10.0 if s.UpdateLimiter > 0 {