From ddd46223e251f5ef751d6b80d621f22f96a225cd Mon Sep 17 00:00:00 2001 From: czyzm Date: Wed, 4 Jan 2017 13:24:38 +0100 Subject: [PATCH] Extend delay for tests so that server is started --- tasker/taskman.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasker/taskman.js b/tasker/taskman.js index 21839e3..e5f490a 100644 --- a/tasker/taskman.js +++ b/tasker/taskman.js @@ -85,7 +85,7 @@ var runTask = function (job) { var delay = 1; if (job.config.serverScript && job.config.serverScript.length) { - delay = 4000; + delay = 180000; // just to make sure server scripts are copied and server is started var p = path.join(process.cwd(), "builder/builds/server_" + job.uqID); if (job.config.serverScript[job.config.serverScript.length-1] != '/') @@ -204,4 +204,4 @@ var testTask = function () { }, delay); }; -setInterval(testTask, 3000); \ No newline at end of file +setInterval(testTask, 3000);