summaryrefslogtreecommitdiffstats
path: root/requirements
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-07-24 18:05:02 +0200
committerGitHub <noreply@github.com>2024-07-24 18:05:02 +0200
commit32df114e413e1839111cd81294d0c96aab36bca4 (patch)
tree541af72514db59c488d0abd27e6c9a593e8e666b /requirements
parentReplaced all references of downstream docs to upstream docs (#15388) (diff)
downloadawx-32df114e413e1839111cd81294d0c96aab36bca4.tar.xz
awx-32df114e413e1839111cd81294d0c96aab36bca4.zip
Improve asyncio debugging (#15398)
- use asyncio.get_running_loop() instead of passing around event_loops - add name to all of the asyncio tasks for easier debugging we are trying to figure out which task is ``` Task was destroyed but it is pending! task: <Task pending name='Task-<id>' coro=<RedisConnection._read_data() done, defined at /var/lib/awx/venv/awx/lib64/python3.9/site-packages/aioredis/connection.py:180> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7fba77bf1700>()]> cb=[RedisConnection.__init__.<locals>.<lambda>() at /var/lib/awx/venv/awx/lib64/python3.9/site-packages/aioredis/connection.py:168]> ``` is referring to
Diffstat (limited to 'requirements')
0 files changed, 0 insertions, 0 deletions