mklokocka
mklokocka
Unfortunately the current implementation of aiohttp tracing finishes the span on a `prepare` call. So it doesn't really support `StreamResponse`.
I have added a proposed pull request to fix this issue: https://github.com/aio-libs/aiocassandra/pull/40 @hellysmile Would you check this?
I am not sure to be honest. Asyncio is hard for me as it is, combining it with Threading is an overkill for my understanding. I am trying to get...
I have been trying to put together an example, but so far, I cannot simulate the problem. I think it has to deal with the fact that I am working...
A small example is here: https://gist.github.com/mklokocka/1c459b2b3eadaa9bc4b229b4bc4470f5 If you cancel the request fast enough, you can sometimes find ``` ERROR:asyncio:Task was destroyed but it is pending! task: ``` When you are...
Well that is the normal behaviour, the task retrieving data from Cassandra should and have to be cancelled. I do not need it bogging the rest of the application. I...
The thing is I am not writing anything to the DB, just retrieving data by using a paginator. This should not lead to the behaviour experienced - the tasks processing...
What I am trying to explain is it should not matter if it is aiohttp or not. It is not aiohttp problem that I have a coroutine running the aiocassandra...
Ah, I see the problem now. There are three events at the same time, `self._drain_event`, `self._finish_event` and `self._exit_event`. Now, in the case the Paginator exits prematurely, `__aexit__` is called, it...
Sure! I am also having some memory issues I am not sure are tied to this or not, so I will see about that (could be that the unfinished await...