Eric Zhang

Results 78 comments of Eric Zhang

Hi @elprans -- in the code sample, the task that is acquiring a connection from the pool is on an independent task from the one calling asyncio.sleep(). The time measurement...

> ```python > t0 = time.time() > await asyncio.sleep(0.001) > elapsed_ms = (time.time() - t0) * 1000 > > if elapsed_ms > 50: > print(f">>> {i} took {elapsed_ms}ms") > ```...

Thanks for the comments. We have been seeing issues where asyncpg itself seems to block the event loop even when we don't back up on many asyncio tasks at once....

> If there is a blocking pathology somewhere in the asyncpg code, `PYTHONASYNCIODEBUG=1` should clearly point it out under relatively low load. Your repro does not seem to demonstrate that,...

I'm glad it's working well for you! That's awesome :) I didn't realize that tracing-subscriber had no way to turn off colors via environment variable. Sounds like the upstream issue...

Sorry to add noise here, but I'm getting the same slowness on HTTP/2, and it's quite confusing. These are repeated requests to a default hyper server on `localhost:7609` that just...

Thanks for finding the issue and responding so quickly — makes sense. I wonder why specifically 412 was treated differently. :) > The response gets sent immediately (use `curl -v`)...

I was able to fix this issue by combining @vincentbernat's solution with a script that inserts zero-width spaces between each child of the `span.katex-html` element, which solves the problem of...

Sounds good. I would be happy to try to contribute a PR for this. Whether this is "documented behavior" - I agree it's somewhat surprising, honestly just tried different things...

I'm running the dev server at `localhost:7936`, but it only shows display math rendering, and this issue/change specifically is for inline math line breaks. Is there a way I can...