Commit graph

2 commits

Author SHA1 Message Date
J. Nick Koston
790c1bc251
Decrease event loop latency by binding time.monotonic to loop.time directly ()
* Decrease event loop latency by binding time.monotonic to loop.time directly

This is a small improvment to decrease event loop latency. While the goal is
is to reduce Bluetooth connection time latency, everything using asyncio
is a bit more responsive as a result.

* relo per comments

* fix too fast by adding resolution, ensure monotonic time is patchable by freezegun

* fix test that freezes time too late and has a race loop
2023-08-13 20:37:45 -04:00
Erik Montnemery
a77009c3ca
Patch dt_util.utcnow earlier () 2023-08-08 19:16:52 +02:00