Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix infinite callback loop when used with async-solipsism
If the keepalive handler is called too soon, it reschedules itself. The test used `now <= close_time`, which means that an exactly on-time notification is treated as "too soon", causing an automatic rescheduling. For real systems the time will eventually advance and break the loop, but with async-solipsism, time doesn't advance until there is some reason to sleep and the loop is infinite. Closes aio-libs#10149.
- Loading branch information