[4.03.20] 4 second reduction and fixed status check

This commit is contained in:
andrewso 2020-03-04 10:49:03 +00:00
parent 82374db8cf
commit 6c626348b9

View File

@ -88,7 +88,7 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price)
status, response = send(query, logger)
if status != '200':
if status != 200:
logger.critical("Query wasn't executed properly, view logs. Status = {}".format(status))
logger.error("With Response of : {}".format(response))
else:
@ -110,4 +110,4 @@ def collector(c_type):
sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price)
sleep(3600)
sleep(3596)