updating redis keys
This commit is contained in:
@@ -95,7 +95,7 @@ function getEndpointGroup() {
|
||||
* @param {string} endpointGroup
|
||||
*/
|
||||
function getStoreKey(user, endpointGroup) {
|
||||
return `rate-limit:store:${user}:${endpointGroup}`;
|
||||
return `limits:rate:store:${user}:${endpointGroup}`;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -105,7 +105,7 @@ function getStoreKey(user, endpointGroup) {
|
||||
* @param {string} endpointGroup
|
||||
*/
|
||||
function getStatusKey(user, endpointGroup) {
|
||||
return `rate-limit:status:${user}:${endpointGroup}`;
|
||||
return `limits:rate:status:${user}:${endpointGroup}`;
|
||||
}
|
||||
|
||||
function getLuaScript() {
|
||||
|
||||
Reference in New Issue
Block a user