Skip to content

Commit 2a44292

Browse files
committed
Disable push processing
1 parent 4bcc0d0 commit 2a44292

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
@@ -2151,7 +2151,7 @@ async def _run_push_actions_and_persist_event(
21512151
# persist_events_and_notify directly.)
21522152
assert not event.internal_metadata.outlier
21532153

2154-
if not backfilled and not context.rejected:
2154+
if False and not backfilled and not context.rejected:
21552155
min_depth = await self._store.get_min_depth(event.room_id)
21562156
if min_depth is None or min_depth > event.depth:
21572157
# 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
@@ -1464,9 +1464,10 @@ async def _persist_events(
14641464
a room that has been un-partial stated.
14651465
"""
14661466

1467-
await self._bulk_push_rule_evaluator.action_for_events_by_user(
1468-
events_and_context
1469-
)
1467+
# T2B: Disable push processing.
1468+
#await self._bulk_push_rule_evaluator.action_for_events_by_user(
1469+
# events_and_context
1470+
#)
14701471

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

0 commit comments

Comments
 (0)