CartoDB/CartoDB-SQL-API

TypeError: Cannot read property 'rateLimitsEnabled' of undefined

Closed this issue · 1 comments

The ratelimits configuration key is not backwards compatible.

Current result

Old deployments fail to start if the new key is not defined in an old configuration file.

Expected behaviour

Be able to use an old configuration file with the new code.

P.S.: The release notes for 2.x do not cover this change as a breaking one.

I expected the changes on environment configuration files were a must, but of course, I should have warned about it in the release.

Luckily, the problem doesn't happen in Windshaft-carto.