From d44ae664e861f5e77b69f3f32ed97ee58a376bdc Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Sun, 11 Oct 2020 14:03:03 +0100 Subject: [PATCH] [10.10.20] Reduced CPU limit --- configuration/kubernetes/deployment.yaml | 2 +- src/pricing/collector.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index f6fb302..ed52ff2 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -102,7 +102,7 @@ spec: cpu: 32m memory: 32Mi limits: - cpu: 75m + cpu: 25m memory: 64Mi securityContext: capabilities: diff --git a/src/pricing/collector.py b/src/pricing/collector.py index c7daf21..4d03523 100644 --- a/src/pricing/collector.py +++ b/src/pricing/collector.py @@ -147,8 +147,6 @@ def collector(c_type): global time time = timeFunction() - print(time) - av_price, timestamp = averager(c_type) vol = getVol(c_type) high, low = getHighLow(c_type)