Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Extend delay for tests so that server is started
Browse files Browse the repository at this point in the history
  • Loading branch information
czyzm authored Jan 4, 2017
1 parent b9f52a3 commit ddd4622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasker/taskman.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] != '/')
Expand Down Expand Up @@ -204,4 +204,4 @@ var testTask = function () {
}, delay);
};

setInterval(testTask, 3000);
setInterval(testTask, 3000);

0 comments on commit ddd4622

Please sign in to comment.