Add namespace for getMapConfig step while profiling

This commit is contained in:
Daniel García Aubert
2017-11-08 14:08:27 +01:00
parent 56d33b7f5b
commit aff5fcda63

View File

@@ -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);
}