From aff5fcda63bc6bd6b152d439cf7562428a6f725f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 8 Nov 2017 14:08:27 +0100 Subject: [PATCH] Add namespace for getMapConfig step while profiling --- lib/cartodb/controllers/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cartodb/controllers/map.js b/lib/cartodb/controllers/map.js index 936c558e..72938009 100644 --- a/lib/cartodb/controllers/map.js +++ b/lib/cartodb/controllers/map.js @@ -173,7 +173,7 @@ MapController.prototype.getTemplate = function () { ); mapconfigProvider.getMapConfig((err, mapconfig, rendererParams) => { - req.profiler.done('getMapConfig'); + req.profiler.done('named.getMapConfig'); if (err) { return next(err); } @@ -210,7 +210,7 @@ MapController.prototype.prepareAdapterMapConfig = function () { }; this.mapConfigAdapter.getMapConfig(user, requestMapConfig, res.locals, context, (err, requestMapConfig) => { - req.profiler.done('getMapConfig'); + req.profiler.done('anonymous.getMapConfig'); if (err) { return next(err); }