parent
46c723c7b6
commit
2e2b1e481b
|
@ -78,7 +78,7 @@ func initialCaretaker(c *gin.Context, f func(md common.MethodData) common.CodeMe
|
|||
doggoTags = append(doggoTags, "hanayo")
|
||||
}
|
||||
|
||||
doggo.Incr("requestsbytype.v1", doggoTags, 1)
|
||||
doggo.Incr("requests.v1", doggoTags, 1)
|
||||
|
||||
missingPrivileges := 0
|
||||
for _, privilege := range privilegesNeeded {
|
||||
|
|
|
@ -11,7 +11,7 @@ func PeppyMethod(a func(c *gin.Context, db *sqlx.DB)) gin.HandlerFunc {
|
|||
rateLimiter()
|
||||
perUserRequestLimiter(0, c.ClientIP())
|
||||
|
||||
doggo.Incr("requestsbytype.peppy", nil, 1)
|
||||
doggo.Incr("requests.peppy", nil, 1)
|
||||
|
||||
// I have no idea how, but I manged to accidentally string the first 4
|
||||
// letters of the alphabet into a single function call.
|
||||
|
|
Loading…
Reference in New Issue
Block a user