updating redis keys

This commit is contained in:
Simon Martín
2018-02-21 17:25:26 +01:00
parent b76a8249fa
commit 2937b6a804
+2 -2
View File
@@ -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() {