From 2b2020b43b2dbbb07d51072e15cd3342551dde20 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 25 Aug 2014 19:09:54 +0200 Subject: [PATCH] Removes getTableGeometryType metric --- docs/metrics.md | 1 - lib/cartodb/server_options.js | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/metrics.md b/docs/metrics.md index a3c3e5b5..de856831 100644 --- a/docs/metrics.md +++ b/docs/metrics.md @@ -30,7 +30,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) -- **cartoData.getTableGeometryType**: time to retrieve from redis the geom type for a given table - **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 diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 47218122..ec91148b 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -718,7 +718,6 @@ module.exports = function(){ cartoData.getTableGeometryType(req.params.dbname, req.params.table, this); }, function finishSetup(err, data){ - if (req.profiler) req.profiler.done('cartoData.getTableGeometryType'); if ( err ) { callback(err, req); return; } if (!_.isNull(data))