2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-04 20:17:58 +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:
Markus Hilger
2026-09-04 17:53:40 +02:00
parent 8fcb5aec9a
commit 2f00b2ff05
-1
View File
@@ -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):