more fix edu batching hackery
This commit is contained in:
@@ -484,9 +484,9 @@ class TransactionQueue(object):
|
|||||||
|
|
||||||
# if we have PDUs to send, we may as well send EDUs too. Otherwise,
|
# if we have PDUs to send, we may as well send EDUs too. Otherwise,
|
||||||
# we only send EDUs if their delay is up
|
# we only send EDUs if their delay is up
|
||||||
if pending_pdus or (
|
if destination in self.edu_tx_time_by_dest and (
|
||||||
destination in self.edu_tx_time_by_dest
|
pending_pdus or
|
||||||
and self.clock.time() > self.edu_tx_time_by_dest[destination]
|
self.clock.time() > self.edu_tx_time_by_dest[destination]
|
||||||
):
|
):
|
||||||
del self.edu_tx_time_by_dest[destination]
|
del self.edu_tx_time_by_dest[destination]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user