This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Try moving methods that call add_push_rule
to PushRuleStore
#12764
Labels
good first issue
Good for newcomers
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Noticed in https://github.com/matrix-org/synapse/pull/12717/files#r873957164.
We seem to have two methods on the
PushRulesWorkerStore
which calladd_push_rule
. That requires write access to the push rules tables, which I think is usually reserved for the non-workerPushRuleStore
. I think we shouldThe text was updated successfully, but these errors were encountered: