[4.03.20] 4 second reduction and fixed status check
This commit is contained in:
parent
82374db8cf
commit
6c626348b9
@ -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)
|
||||
Loading…
x
Reference in New Issue
Block a user