diff --git a/lib/cartodb/middleware/rate-limit.js b/lib/cartodb/middleware/rate-limit.js index 92752ffe..6cceb177 100644 --- a/lib/cartodb/middleware/rate-limit.js +++ b/lib/cartodb/middleware/rate-limit.js @@ -5,19 +5,19 @@ const REDIS_DB = 8; const RATE_LIMIT_ENDPOINTS_GROUPS = { ENDPOINT_1: 'anonymous', ENDPOINT_2: 'static', - ENDPOINT_3: 'staticNamed', + ENDPOINT_3: 'static_named', ENDPOINT_5: 'dataview', - ENDPOINT_6: 'dataviewSearch', + ENDPOINT_6: 'dataview_search', ENDPOINT_7: 'analysis', ENDPOINT_8: 'tile', ENDPOINT_9: 'attributes', - ENDPOINT_10: 'namedList', - ENDPOINT_11: 'namedCreate', - ENDPOINT_12: 'namedGet', + ENDPOINT_10: 'named_list', + ENDPOINT_11: 'named_create', + ENDPOINT_12: 'named_get', ENDPOINT_13: 'named', - ENDPOINT_14: 'namedUpdate', - ENDPOINT_15: 'namedDelete', - ENDPOINT_17: 'namedTiles' + ENDPOINT_14: 'named_update', + ENDPOINT_15: 'named_delete', + ENDPOINT_17: 'named_tiles' }; function rateLimitMiddleware(metadataBackend, endpointGroup = null) {