diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-31 09:59:59 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-31 09:59:59 +0000 |
commit | 841df4da71b46dc1360f6a71e5ccd9e267211e38 (patch) | |
tree | df647bf4a65bac297a36f9d80f1f8c3d38d5b235 /synapse/storage/transactions.py | |
parent | Move the impl of backfill to use events. (diff) | |
download | synapse-841df4da71b46dc1360f6a71e5ccd9e267211e38.tar.xz |
Don't store any PDUs
Diffstat (limited to 'synapse/storage/transactions.py')
-rw-r--r-- | synapse/storage/transactions.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py index 908014d38b..6624348fd0 100644 --- a/synapse/storage/transactions.py +++ b/synapse/storage/transactions.py @@ -142,15 +142,15 @@ class TransactionStore(SQLBaseStore): # Update the tx id -> pdu id mapping - values = [ - (transaction_id, destination, pdu[0], pdu[1]) - for pdu in pdu_list - ] - - logger.debug("Inserting: %s", repr(values)) - - query = TransactionsToPduTable.insert_statement() - txn.executemany(query, values) + # values = [ + # (transaction_id, destination, pdu[0], pdu[1]) + # for pdu in pdu_list + # ] + # + # logger.debug("Inserting: %s", repr(values)) + # + # query = TransactionsToPduTable.insert_statement() + # txn.executemany(query, values) return prev_txns |