aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-05-05 09:37:11 +0200
committerHarald Musum <musum@verizonmedia.com>2021-05-05 09:37:11 +0200
commit8cf5420f15cdbdd56c080793a47b6675b8eb2028 (patch)
treed46ed2e8a35e666ac305f15e0ac90d6ee70fc694 /node-admin
parent47827f0e8ee70a2676fc14885e6781ae9db06c77 (diff)
No CPU cap only in dev
Cannot see why this should be needed in cd, it makes cd different from other systems, which might hide bugs or show different behavior
Diffstat (limited to 'node-admin')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java
index 74ba19a72c5..c23e1899257 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java
@@ -405,7 +405,7 @@ public class NodeAgentImpl implements NodeAgent {
}
private boolean noCpuCap(ZoneApi zone) {
- return zone.getEnvironment() == Environment.dev || zone.getSystemName().isCd();
+ return zone.getEnvironment() == Environment.dev;
}
private boolean downloadImageIfNeeded(NodeAgentContext context, Optional<Container> container) {