[6.03.20] removed killing of service as it triggers every hour

This commit is contained in:
andrewso 2020-03-06 10:17:06 +00:00
parent 8bbad71262
commit 5db5111a7c
2 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,7 @@ metadata:
name: RESOURCE_NAME
namespace: production
spec:
replicas: 1
replicas: 0
selector:
matchLabels:
app: RESOURCE_NAME

View File

@ -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))