Skip to content

Commit

Permalink
make key composer public
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed Jun 12, 2024
1 parent ac1bbcf commit 63c8464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otoroshi/app/next/plugins/quotas.scala
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ object NgCustomThrottlingConfig {

object NgCustomThrottling {

private def throttlingKey(name: String, group: String)(implicit env: Env): String =
def throttlingKey(name: String, group: String)(implicit env: Env): String =
s"${env.storageRoot}:plugins:custom-throttling:${group}:second:$name"

def updateQuotas(expr: String, group: String, increment: Long = 1L)(implicit
Expand Down

0 comments on commit 63c8464

Please sign in to comment.