diff options
author | Harald Musum <musum@oath.com> | 2017-09-29 14:38:25 +0200 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2017-09-29 14:38:25 +0200 |
commit | 6e46427042112cb8d5875994e3b09a83c4b9f088 (patch) | |
tree | cf1a1aa97a5104ad1e07126de8683da9ad58af79 /config-model | |
parent | b25ceabd5a18cc0c32c11cd45e4638d20f7157a9 (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.java | 1 |
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()); } |