[6.03.20] removed killing of service as it triggers every hour
This commit is contained in:
parent
8bbad71262
commit
5db5111a7c
@ -6,7 +6,7 @@ metadata:
|
|||||||
name: RESOURCE_NAME
|
name: RESOURCE_NAME
|
||||||
namespace: production
|
namespace: production
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: RESOURCE_NAME
|
app: RESOURCE_NAME
|
||||||
|
|||||||
@ -90,8 +90,6 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price)
|
|||||||
if status != 200:
|
if status != 200:
|
||||||
logger.critical("Query wasn't executed properly, view logs. Status = {}".format(status))
|
logger.critical("Query wasn't executed properly, view logs. Status = {}".format(status))
|
||||||
logger.error("With Response of : {}".format(response))
|
logger.error("With Response of : {}".format(response))
|
||||||
sleep(30)
|
|
||||||
sys.exit()
|
|
||||||
else:
|
else:
|
||||||
logger.info("Query executed successfully with Status = {}".format(status))
|
logger.info("Query executed successfully with Status = {}".format(status))
|
||||||
logger.info("With Response of : {}".format(response))
|
logger.info("With Response of : {}".format(response))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user