Skip to content

Commit

Permalink
fix: microsecond precision loss in the query handler (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Dec 15, 2023
1 parent f78a196 commit 6560fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zeroconf/_handlers/query_handler.pxd
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 6560fad

Please sign in to comment.