Skip to content

Commit d3797af

Browse files
committed
Disable push processing
1 parent db4184b commit d3797af

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

synapse/handlers/federation_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,7 @@ async def _run_push_actions_and_persist_event(
21732173
# persist_events_and_notify directly.)
21742174
assert not event.internal_metadata.outlier
21752175

2176-
if not backfilled and not context.rejected:
2176+
if False and not backfilled and not context.rejected:
21772177
min_depth = await self._store.get_min_depth(event.room_id)
21782178
if min_depth is None or min_depth > event.depth:
21792179
# XXX richvdh 2021/10/07: I don't really understand what this

synapse/handlers/message.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,9 +1466,10 @@ async def _persist_events(
14661466
a room that has been un-partial stated.
14671467
"""
14681468

1469-
await self._bulk_push_rule_evaluator.action_for_events_by_user(
1470-
events_and_context
1471-
)
1469+
# T2B: Disable push processing.
1470+
#await self._bulk_push_rule_evaluator.action_for_events_by_user(
1471+
# events_and_context
1472+
#)
14721473

14731474
try:
14741475
# If we're a worker we need to hit out to the master.

0 commit comments

Comments
 (0)