From 46b044a7ea90251a56294298e81f20dfb4d210ec Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 5 Oct 2016 10:10:52 +0300 Subject: [PATCH] Optimized temporary path length --- BuildServer/lib/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildServer/lib/builder.js b/BuildServer/lib/builder.js index 09c5ddb..3d79151 100644 --- a/BuildServer/lib/builder.js +++ b/BuildServer/lib/builder.js @@ -38,7 +38,7 @@ var build = function (options, callback) { branch = options.branch, skipGitLoader = options.skipGitLoader, local = options.app.get('gitpath') + "/r/", - tmp = options.app.get('tmpcodepath') + "/" + rev.substr(0, 20), + tmp = options.app.get('tmpcodepath') + "/" + rev.substr(0, 15), exported = tmp + codePostfix, release = options.app.get('releasepath') + "/" + owner + "/" + reponame + "/" + branch + "/" + rev, statusQueue = async.queue(function (task, callback) {