diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index 1a8a249..f5e51e0 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -8,7 +8,7 @@ metadata: name: RESOURCE_NAME namespace: production spec: - replicas: 1 + replicas: 0 selector: matchLabels: app: RESOURCE_NAME diff --git a/src/pricing/collector.py b/src/pricing/collector.py index a109d63..208c55f 100644 --- a/src/pricing/collector.py +++ b/src/pricing/collector.py @@ -27,7 +27,7 @@ btc_usd="/home/price-collector/src/resources/queries/V1_INSERT_NEW_PRICE_RECORD_ def averager(type): - timestamp = datetime.datetime.now()# + timedelta(hours=1) + timestamp = datetime.datetime.now() + timedelta(hours=1) bitstampH, bitstampL = bitstampHighLow(type, logger) krakenH, krakenL = krakenHighLow(type, logger)