Skip to content

Commit 823910d

Browse files
committed
feat: small speed up to writing outgoing packets
1 parent 0d60b61 commit 823910d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/zeroconf/_protocol/outgoing.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ cdef class DNSOutgoing:
7070
index=cython.uint,
7171
length=cython.uint
7272
)
73-
cdef cython.bint _write_record(self, DNSRecord record, object now)
73+
cdef cython.bint _write_record(self, DNSRecord record, float now)
7474

7575
@cython.locals(class_=cython.uint)
7676
cdef _write_record_class(self, DNSEntry record)
@@ -91,7 +91,7 @@ cdef class DNSOutgoing:
9191

9292
cdef bint _has_more_to_add(self, unsigned int questions_offset, unsigned int answer_offset, unsigned int authority_offset, unsigned int additional_offset)
9393

94-
cdef _write_ttl(self, DNSRecord record, object now)
94+
cdef _write_ttl(self, DNSRecord record, float now)
9595

9696
@cython.locals(
9797
labels=cython.list,

0 commit comments

Comments
 (0)