diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index a8ab798..1834b6d 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -6,7 +6,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 1bc94da..9f82945 100644 --- a/src/pricing/collector.py +++ b/src/pricing/collector.py @@ -90,8 +90,6 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price) if status != 200: logger.critical("Query wasn't executed properly, view logs. Status = {}".format(status)) logger.error("With Response of : {}".format(response)) - sleep(30) - sys.exit() else: logger.info("Query executed successfully with Status = {}".format(status)) logger.info("With Response of : {}".format(response))