reduce cache ttl to 60s for prod, to facilitate quick fixes

This commit is contained in:
Marc Cohen 2015-07-05 20:25:22 +01:00
parent 219401344b
commit 750ebdb76e

View File

@ -571,11 +571,11 @@ function mdlPublish(pubScope) {
dest = bucketStaging;
} else if (pubScope === 'prod') {
// Set prod specific vars here.
cacheTtl = 3600;
cacheTtl = 60;
dest = bucketProd;
} else if (pubScope === 'promote') {
// Set promote (essentially prod) specific vars here.
cacheTtl = 3600;
cacheTtl = 60;
src = bucketStaging + '/*';
dest = bucketProd;
}