fix a comment

This commit is contained in:
Umputun
2019-01-17 15:07:47 -06:00
parent 97d1fa3942
commit 7fa26343bd
+1 -1
View File
@@ -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 {