We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489069a commit 7246a34Copy full SHA for 7246a34
src/zeroconf/_handlers.py
@@ -489,7 +489,7 @@ def _async_mark_unique_cached_records_older_than_1s_to_expire(
489
# Since unique is set, all old records with that name, rrtype,
490
# and rrclass that were received more than one second ago are declared
491
# invalid, and marked to expire from the cache in one second.
492
- answers_rrset = DNSRRSet(answers)
+ answers_rrset = set(answers)
493
for name, type_, class_ in unique_types:
494
for entry in self.cache.async_all_by_details(name, type_, class_):
495
if (now - entry.created > _ONE_SECOND) and entry not in answers_rrset:
0 commit comments