Do not perform "increment map view count" in parallel

This commit is contained in:
Daniel García Aubert
2017-10-31 17:09:42 +01:00
parent 39eb0f7bec
commit bb02494e02

View File

@@ -333,7 +333,7 @@ MapController.prototype.afterLayergroupCreate = function (req, res, callback) {
};
// Perform mapview count increment in parallel along the rest of after-layergroup-create
// tasks. Error won't blow up, just logged.
// tasks. Error won't blow up, just be logged.
this.metadataBackend.incMapviewCount(user, mapconfig.obj().stat_tag, function(err) {
req.profiler.done('incMapviewCount');
if ( err ) {