mirror of
https://github.com/xcat2/confluent.git
synced 2026-06-18 09:30:50 +00:00
Modernize asyncio invocation in main confluent runtime
This commit is contained in:
@@ -43,7 +43,7 @@ async def main():
|
||||
if __name__ == '__main__':
|
||||
#multiprocessing.freeze_support()
|
||||
#asyncio.get_event_loop().run_until_complete(main())
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
asyncio.run(main())
|
||||
#gt = spawn_for_awaitable(confluent.main.run(sys.argv))
|
||||
#gt.wait()
|
||||
#except:
|
||||
|
||||
Reference in New Issue
Block a user