aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2017-07-26 16:38:12 +0200
committerHarald Musum <musum@yahoo-inc.com>2017-07-26 16:38:12 +0200
commitfdc5fd28a68889e9fd860b2c5586b6a63e5cc624 (patch)
treed5ee2c8a5dc6485d1da6d3c4812672c8b64b0a39 /filedistribution
parentdff23cc1b8cedc23d470cee373d5358153380ee3 (diff)
Increase number of deployments known to filedistributor
* Deployment for filedistributor is per config model version, so need to keep track of more of them
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/model/deployedfilestodownload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filedistribution/src/vespa/filedistribution/model/deployedfilestodownload.h b/filedistribution/src/vespa/filedistribution/model/deployedfilestodownload.h
index 98da1b3d386..fc726170084 100644
--- a/filedistribution/src/vespa/filedistribution/model/deployedfilestodownload.h
+++ b/filedistribution/src/vespa/filedistribution/model/deployedfilestodownload.h
@@ -9,8 +9,8 @@ namespace filedistribution {
const std::string readApplicationId(ZKFacade & zk, const Path & deployNode);
class DeployedFilesToDownload {
- //includes the current deployment. Want at least 3 ('original' + 2, since there might be concurrent deployments, e.g both external and internal)
- static const size_t numberOfDeploymentsToKeepFilesFrom = 3;
+ //includes the current deployment. Want 2 * number of config models, since deployment is per model
+ static const size_t numberOfDeploymentsToKeepFilesFrom = 14;
ZKFacade& _zk;