diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-01-20 03:27:59 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-02-07 13:17:11 +0000 |
commit | 4b7a95469cf309b437fc1a8201a93f14c33ce3a8 (patch) | |
tree | b9fcb364ff169d15e26adc9b7a79c67b8daf2187 /NOTICE | |
parent | 5a37171f733fa8c7326161cc49af3df0be5dfae4 (diff) | |
download | unit-4b7a95469cf309b437fc1a8201a93f14c33ce3a8.tar.gz unit-4b7a95469cf309b437fc1a8201a93f14c33ce3a8.tar.bz2 |
Python: ASGI: Factor out event loop creation to its own function.
This is a preparatory patch that factors out the asyncio event loop
creation code from nxt_python_asgi_ctx_data_alloc() into its own
function, to facilitate being called multiple times.
This a part of the work to move away from using the
asyncio.get_event_loop() function due to it no longer creating event
loops if there wasn't one running.
See the following commit for the gory details.
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions