mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-05 04:27:56 +00:00
7ecc2b2818
Housekeeper dates from when this work was a blocking select loop. Under asyncio the event loop is already that place, and a thread around it takes a captured loop reference, a scheduling step before the thread starts, and a daemon flag, only to sit waiting on a coroutine that never returns with no way to stop it. A task runs on the right loop by construction and cancels. The loop is looked up before the coroutine is built, so calling this without one raises rather than stranding it. Nothing in this tree used the class. Out of tree callers need start_housekeeping() instead, and gain the ability to stop it.