mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-05 04:18:59 -04:00
Remove obsolete order field in send_new_transaction
(#8245)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
f97f9485ee
commit
4535e849d7
4 changed files with 23 additions and 28 deletions
|
@ -108,8 +108,6 @@ class FederationSender(object):
|
|||
),
|
||||
)
|
||||
|
||||
self._order = 1
|
||||
|
||||
self._is_processing = False
|
||||
self._last_poked_id = -1
|
||||
|
||||
|
@ -272,9 +270,6 @@ class FederationSender(object):
|
|||
# a transaction in progress. If we do, stick it in the pending_pdus
|
||||
# table and we'll get back to it later.
|
||||
|
||||
order = self._order
|
||||
self._order += 1
|
||||
|
||||
destinations = set(destinations)
|
||||
destinations.discard(self.server_name)
|
||||
logger.debug("Sending to: %s", str(destinations))
|
||||
|
@ -286,7 +281,7 @@ class FederationSender(object):
|
|||
sent_pdus_destination_dist_count.inc()
|
||||
|
||||
for destination in destinations:
|
||||
self._get_per_destination_queue(destination).send_pdu(pdu, order)
|
||||
self._get_per_destination_queue(destination).send_pdu(pdu)
|
||||
|
||||
async def send_read_receipt(self, receipt: ReadReceipt) -> None:
|
||||
"""Send a RR to any other servers in the room
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue