From 6560fad584e0d392962c9a9248759f17c416620e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 15 Dec 2023 08:35:22 -1000 Subject: [PATCH] fix: microsecond precision loss in the query handler (#1339) --- src/zeroconf/_handlers/query_handler.pxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zeroconf/_handlers/query_handler.pxd b/src/zeroconf/_handlers/query_handler.pxd index 8c42144c..3e726a53 100644 --- a/src/zeroconf/_handlers/query_handler.pxd +++ b/src/zeroconf/_handlers/query_handler.pxd @@ -39,7 +39,7 @@ cdef class _QueryResponse: cdef bint _is_probe cdef cython.list _questions - cdef float _now + cdef double _now cdef DNSCache _cache cdef cython.dict _additionals cdef cython.set _ucast @@ -91,7 +91,7 @@ cdef class QueryHandler: known_answers_set=cython.set, is_unicast=bint, is_probe=object, - now=float + now=double ) cpdef async_response(self, cython.list msgs, cython.bint unicast_source)