Use setInmmediate vs process.nextTick

This commit is contained in:
Daniel García Aubert 2017-05-17 12:55:05 +02:00
parent 808c729a0e
commit fb4ee61b83

View File

@ -15,7 +15,7 @@ MapConfigBufferSizeAdapter.prototype.getMapConfig = function (user, requestMapCo
}
});
process.nextTick(function () {
setImmediate(function () {
callback(null, requestMapConfig);
});
};