Adam Hopkins

Results 354 comments of Adam Hopkins

@Tronic and I have talked about an overhaul to timeouts. This is not going to land in the upcoming release, but is absolutely something I'm hoping to get into the...

Yeah, I've thought about this in the past about how we could implement per-endpoint overrides. The difficulty is that the timers live outside of routing.

Why this: `run_in_executor`? Mixing threads and asyncio can be painful and is generally not recommended. Does it work fine while running it directly?

Here is a simple example to mock what you are doing. It seems to work fine for me: ```python import concurrent import time from sanic import Request, Sanic, json executor...

> Is this approach wrong? If so what are the alternatives? Not necessarily wrong, it just becomes a bit more tricky. Have you considered using this instead: https://github.com/aio-libs/aiobotocore? > This...

I think the race condition is with the connections coming out of order. Let me see if I can replicate it without the AWS calls.

It would be helpful to know: - What the Sanic logs are when this happens - What the actual HTTP rersponse is - Whether the client is using a single...

@yoniker I cannot do it now, but maybe ping me on the Sanic discord server and we can walk thru the issue there in RT?

@robd003 @seibushin Which loop are you using? `asyncio`, `uvloop`, `trio`? It also would be helpful to know if you are using `stream_large_files` or not.