Revert "Hack to workaround libera federation pain"
This reverts commit ab629c17cc
.
This commit is contained in:
parent
ab629c17cc
commit
b4df6be0d0
|
@ -509,17 +509,6 @@ class PerDestinationQueue:
|
||||||
# servers, but the remote will correctly deduplicate them and
|
# servers, but the remote will correctly deduplicate them and
|
||||||
# handle it only once.
|
# handle it only once.
|
||||||
|
|
||||||
# TEMPORARY HACK: the loop body below can block during partial state
|
|
||||||
# resyncs. This is bad---other, fully joined rooms have their federation
|
|
||||||
# sending nobbled. As a stopgap, ignore partial state rooms here.
|
|
||||||
# Any queued messages in rooms that we skip won't be sent to this
|
|
||||||
# destination; they'll wait for us to send a new event in the room.
|
|
||||||
if await self._store.is_partial_state_room(pdu.room_id):
|
|
||||||
logger.warning(
|
|
||||||
"SKIPPING CATCHUP FOR PARTIAL STATE ROOM: %s", pdu.room_id
|
|
||||||
)
|
|
||||||
continue
|
|
||||||
|
|
||||||
# Step 1, fetch the current extremities
|
# Step 1, fetch the current extremities
|
||||||
extrems = await self._store.get_prev_events_for_room(pdu.room_id)
|
extrems = await self._store.get_prev_events_for_room(pdu.room_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue