summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-23 13:50:04 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-23 16:49:26 +0000
commit3f8efed1f6f92485a882f1e27483963a92941548 (patch)
treefd8b4f2e5a2ec91bdb648adf397051305218f4b5 /COPYING
parent6360ffd02373d5fbe61bf07049919d9c191b6a1c (diff)
downloadmorph-3f8efed1f6f92485a882f1e27483963a92941548.tar.gz
distbuild: Check cache status each time we enqueue new artifacts
This fixes an issue where distbuild would build the same artifact more than once. The problem occurs with a single distbuild controller, if multiple initiators request builds of the same thing at roughly the same time (which scripts/release-build in definitions.git does). This change also means that multiple distbuild controllers sharing a single artifact cache will be smart about sharing built artifacts. It does not mean that distbuild can handle having built artifacts removed from the cache while it is building stuff. The number of HTTP requests made to the shared artifact cache is higher with this patch, but these seem to take no more than 1 second and we only ever need to run one request before starting more builds, so there should be no noticable impact on performance. Change-Id: Ib3246219a10ca95d40b8a21bd0fe53f32e46c1c9
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions