summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2017-09-29 14:38:25 +0200
committerHarald Musum <musum@oath.com>2017-09-29 14:38:25 +0200
commit6e46427042112cb8d5875994e3b09a83c4b9f088 (patch)
treecf1a1aa97a5104ad1e07126de8683da9ad58af79 /config-model
parentb25ceabd5a18cc0c32c11cd45e4638d20f7157a9 (diff)
Remove unnecessary expensive cleanup
* Remove step that is very expensive, since it iterates over all hosts in the system. Cleanup is done by removeDeploymentsThatHaveDifferentApplicationId() anyway
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java b/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java
index e07327b1666..8860f5c2249 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java
@@ -102,7 +102,6 @@ public class FileDistributor {
}
}
dbHandler.sendDeployedFiles(fileSourceHost, allFilesToSend());
- dbHandler.limitSendingOfDeployedFilesTo(union(getTargetHostnames(), fileSourceHost));
dbHandler.removeDeploymentsThatHaveDifferentApplicationId(getTargetHostnames());
}