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

master
Marc Cohen 2015-07-05 20:25:22 +01:00
parent 219401344b
commit 750ebdb76e
1 changed files with 2 additions and 2 deletions

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;
}