From 9cc60cf8242c9c56cee7d7cbcc05dcada66c4d2a Mon Sep 17 00:00:00 2001 From: James McConaghie Date: Wed, 17 May 2017 09:06:03 -0600 Subject: [PATCH] Pass the execution time value as the second parameter to callback when the sandbox execution has timed out. --- API/DockerSandbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/DockerSandbox.js b/API/DockerSandbox.js index be3a3c34..0b82cf07 100644 --- a/API/DockerSandbox.js +++ b/API/DockerSandbox.js @@ -202,7 +202,7 @@ DockerSandbox.prototype.execute = function(success) console.log("Time: ") console.log(time) - success(data,data2) + success(data,time,data2) }); });