[10.07.20] Uncomment
This commit is contained in:
parent
cb287aee83
commit
137df14462
@ -98,14 +98,14 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price)
|
|||||||
|
|
||||||
logger.info("Query sending down to db-gateway -- ({})".format(query))
|
logger.info("Query sending down to db-gateway -- ({})".format(query))
|
||||||
|
|
||||||
# status, response = send(query, logger)
|
status, response = send(query, logger)
|
||||||
#
|
|
||||||
# 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))
|
||||||
# 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))
|
||||||
|
|
||||||
def timeFunction():
|
def timeFunction():
|
||||||
global time
|
global time
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user