Browse Source

loop.set_debug(True)

pull/1/head
Coin de Gamma 6 years ago committed by GitHub
parent
commit
4d2ca2bb0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      analytics/bin/server

1
analytics/bin/server

@ -100,6 +100,7 @@ async def app_loop():
if __name__ == "__main__": if __name__ == "__main__":
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
loop.set_debug(True)
logger.info("Ok") logger.info("Ok")
server_service, data_service, analytic_unit_manager = init_services() server_service, data_service, analytic_unit_manager = init_services()
print('Analytics process is running') # we need to print to stdout and flush print('Analytics process is running') # we need to print to stdout and flush

Loading…
Cancel
Save