Kaynağa Gözat

Fixed issue causing the IO module to freeze with 10 requests at the same time

Kristian Vos 4 yıl önce
ebeveyn
işleme
f6b7517634
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      backend/logic/io.js

+ 1 - 1
backend/logic/io.js

@@ -735,7 +735,7 @@ class _IOModule extends CoreClass {
 				.then(() => {
 					// call the job that calls the action, passing it the session, and the arguments socket.io passed us
 
-					IOModule.runJob("RUN_ACTION2", { session: socket.session, namespace, action, args })
+					IOModule.runJob("RUN_ACTION2", { session: socket.session, namespace, action, args }, this)
 						.then(response => {
 							cb(response);
 							resolve();