new redis keys
This commit is contained in:
@@ -146,7 +146,7 @@ UserLimitsApi.prototype.getRateLimit = function (user, endpointGroup, callback)
|
||||
* @param {string} endpointGroup
|
||||
*/
|
||||
function getStoreKey(user, endpointGroup) {
|
||||
return `limits:rate:store:${user}:${endpointGroup}`;
|
||||
return `limits:rate:store:${user}:maps:${endpointGroup}`;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -156,7 +156,7 @@ function getStoreKey(user, endpointGroup) {
|
||||
* @param {string} endpointGroup
|
||||
*/
|
||||
function getStatusKey(user, endpointGroup) {
|
||||
return `limits:rate:status:${user}:${endpointGroup}`;
|
||||
return `limits:rate:status:${user}:maps:${endpointGroup}`;
|
||||
}
|
||||
|
||||
function getRateLimitLuaScript() {
|
||||
|
||||
Reference in New Issue
Block a user