diff --git a/docs/metrics.md b/docs/metrics.md index adfaec57..5a10c24e 100644 --- a/docs/metrics.md +++ b/docs/metrics.md @@ -28,7 +28,6 @@ Again, each inner timer may have several inner timers. - **authorizedByAPIKey**: time to authorize using an API KEY - **authorizedByCert**: time to authorize a request by a cert, see [signed map](https://github.com/CartoDB/Windshaft-cartodb/wiki/Signed-maps) - **authorizedBySigner**: time to authorize a request for a [signed map](https://github.com/CartoDB/Windshaft-cartodb/wiki/Signed-maps) -- **cors**: time to set the CORS headers - **findLastUpdated**: time to retrieve the last update time for a list of tables, see *affectedTables* - **fingerPrint**: time to create a fingerprint for a signed map - **generateCacheChannel**: time to generate the headers for the cache channel based on the request, see *addCacheChannel* diff --git a/lib/cartodb/cartodb_windshaft.js b/lib/cartodb/cartodb_windshaft.js index e709e3a7..cb6db192 100644 --- a/lib/cartodb/cartodb_windshaft.js +++ b/lib/cartodb/cartodb_windshaft.js @@ -486,7 +486,6 @@ var CartodbWindshaft = function(serverOptions) { // Instantiate a template function instanciateTemplate(req, res, template_params, callback) { ws.doCORS(res); - if ( req.profiler ) req.profiler.done('cors'); var that = this; var response = {}; var template;