Adjust number of allowed connections to tsmaster 44/181844/1
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 25 Oct 2017 17:04:05 +0000 (19:04 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Thu, 2 Nov 2017 11:57:18 +0000 (12:57 +0100)
Decrease number of running slots to 20. Over 90% of time it would
consume less than 10 slots, but sometimes it can be more. In such
situations it is preffered that a job will wait as:
 * more jobs decrease benefits of parallelizm,
 * a download which is triggered again won't redownload images
   as it will find a queued job.

Change-Id: I8c0cff00e0a61da9225227eeca09ebeb17370fe2

tsp/common.sh

index 20621c3..a6a7a76 100755 (executable)
@@ -77,7 +77,7 @@ test -d "$TMP_PWB" || mkdir "$TMP_PWB"
 test -d "$TMP_PWB_RESULTS" || mkdir "$TMP_PWB_RESULTS"
 
 alias tspoll="TMPDIR=$TMP_POLL TS_SLOTS=1 tsp"
-alias tsmaster="TMPDIR=$TMP_MASTER TS_SLOTS=100 tsp"
+alias tsmaster="TMPDIR=$TMP_MASTER TS_SLOTS=20 TS_MAXCONN=8192 tsp"
 alias tspwb="TMPDIR=$TMP_PWB TS_SLOTS=1 tsp"
 alias tsresults="TMPDIR=$TMP_PWB_RESULTS TS_SLOTS=1 tsp"