From 5a7b43b6ca320ece6d8fa55d866d1905810cd393 Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento Date: Mon, 11 Jun 2018 12:16:48 -0300 Subject: [PATCH] [NEW] Do not wait method calls response in websocket to execute next call --- packages/rocketchat-lib/server/lib/debug.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rocketchat-lib/server/lib/debug.js b/packages/rocketchat-lib/server/lib/debug.js index 103675dd5fb9..d57d3471049e 100644 --- a/packages/rocketchat-lib/server/lib/debug.js +++ b/packages/rocketchat-lib/server/lib/debug.js @@ -18,6 +18,7 @@ const wrapMethods = function(name, originalHandler, methodsMap) { const args = name === 'ufsWrite' ? Array.prototype.slice.call(arguments, 1) : arguments; logger.method(name, '-> userId:', Meteor.userId(), ', arguments: ', args); + this.unblock(); const result = originalHandler.apply(this, arguments); end(); return result;