A
A
Artur Zenkov2016-04-19 17:19:15
Python
Artur Zenkov, 2016-04-19 17:19:15

event_loop control in aiohttp + gunicorn?

The documentation for aiohttp says that it is recommended to explicitly pass event_loop.
But if you run the application through the gunicorn worker aiohttp.worker.GunicornWebWorker will create the loop itself.
Is it possible that I need to create another event_loop or specify it explicitly somewhere?
Is it possible to somehow pass the created gunicorn to the event_loop application?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question