diff options
author | Erik Johnston <erikj@jki.re> | 2018-08-15 14:59:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 14:59:02 +0100 |
commit | dc56c47dc0991c4ddd5de59224c5f55c8fad5287 (patch) | |
tree | 083791ba6e3b5a80e4b8d51482b986e30bddd309 /synapse/replication/slave/storage/transactions.py | |
parent | Merge pull request #3687 from matrix-org/neilj/admin_email (diff) | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_fede... (diff) | |
download | synapse-dc56c47dc0991c4ddd5de59224c5f55c8fad5287.tar.xz |
Merge pull request #3653 from matrix-org/erikj/split_federation
Move more federation APIs to workers
Diffstat (limited to 'synapse/replication/slave/storage/transactions.py')
-rw-r--r-- | synapse/replication/slave/storage/transactions.py | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/synapse/replication/slave/storage/transactions.py b/synapse/replication/slave/storage/transactions.py index 9c9a5eadd9..3527beb3c9 100644 --- a/synapse/replication/slave/storage/transactions.py +++ b/synapse/replication/slave/storage/transactions.py @@ -13,19 +13,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -from synapse.storage import DataStore from synapse.storage.transactions import TransactionStore from ._base import BaseSlavedStore -class TransactionStore(BaseSlavedStore): - get_destination_retry_timings = TransactionStore.__dict__[ - "get_destination_retry_timings" - ] - _get_destination_retry_timings = DataStore._get_destination_retry_timings.__func__ - set_destination_retry_timings = DataStore.set_destination_retry_timings.__func__ - _set_destination_retry_timings = DataStore._set_destination_retry_timings.__func__ - - prep_send_transaction = DataStore.prep_send_transaction.__func__ - delivered_txn = DataStore.delivered_txn.__func__ +class SlavedTransactionStore(TransactionStore, BaseSlavedStore): + pass |