Do not override stats

This commit is contained in:
Daniel García Aubert 2018-07-16 17:18:58 +02:00
parent 81eb849aff
commit f9b59d8549
2 changed files with 0 additions and 2 deletions

View File

@ -198,7 +198,6 @@ function createLayergroup (mapBackend, userLimitsBackend, pgConnection, affected
mapBackend.createLayergroup(mapConfig, mapParams, mapConfigProvider, (err, layergroup, stats = {}) => {
req.profiler.add(stats);
req.profiler.done('createLayergroup');
if (err) {
return next(err);

View File

@ -194,7 +194,6 @@ function instantiateLayergroup (mapBackend, userLimitsBackend, pgConnection, aff
mapBackend.createLayergroup(mapConfig, rendererParams, mapConfigProvider, (err, layergroup, stats = {}) => {
req.profiler.add(stats);
req.profiler.done('createLayergroup');
if (err) {
return next(err);