Do not perform "increment map view count" in parallel
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user