Update last_device_stream_id_by_dest if there is nothing to send
This commit is contained in:
parent
b8f84f99ff
commit
b390756150
|
@ -200,6 +200,7 @@ class TransactionQueue(object):
|
||||||
|
|
||||||
if not pending_pdus and not pending_edus and not pending_failures:
|
if not pending_pdus and not pending_edus and not pending_failures:
|
||||||
logger.debug("TX [%s] Nothing to send", destination)
|
logger.debug("TX [%s] Nothing to send", destination)
|
||||||
|
self.last_device_stream_id_by_dest[destination] = device_stream_id
|
||||||
return
|
return
|
||||||
|
|
||||||
yield self._send_new_transaction(
|
yield self._send_new_transaction(
|
||||||
|
|
Loading…
Reference in New Issue