Only wake up the query loop when there is a change in the next query time by bdraco · Pull Request #818 · python-zeroconf/python-zeroconf
bdraco
changed the title
Only wake up the query loop when there is a change in the next query time.
Only wake up the query loop when there is a change in the next query time
While this is much better and reliable, the scheduling is still sub-optimal because we will schedule a query in the future when a PTR will be close to expiring, but if the PTR is seen again between when it was scheduled and we ask again, we still ask.
bdraco
marked this pull request as ready for review
bdraco
deleted the
abtract_query_scheduler
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters