mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-05 04:27:56 +00:00
Leave asyncio debug mode off by default
set_debug(True) put per-callback overhead and slow callback logging into every run. Use PYTHONASYNCIODEBUG=1 or -X dev instead.
This commit is contained in:
@@ -346,7 +346,6 @@ async def asyncrun(args):
|
||||
_redirectoutput()
|
||||
if havefcntl:
|
||||
_updatepidfile()
|
||||
asyncio.get_running_loop().set_debug(True)
|
||||
global _stopevent
|
||||
_stopevent = asyncio.Event()
|
||||
for stopsig in (signal.SIGINT, signal.SIGTERM):
|
||||
|
||||
Reference in New Issue
Block a user