diff --git a/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js b/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js index 5b961ac4..3296d0ea 100644 --- a/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js +++ b/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js @@ -15,7 +15,7 @@ MapConfigBufferSizeAdapter.prototype.getMapConfig = function (user, requestMapCo } }); - process.nextTick(function () { + setImmediate(function () { callback(null, requestMapConfig); }); };