summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-10-31 09:59:59 +0000
committerErik Johnston <erik@matrix.org>2014-10-31 09:59:59 +0000
commit841df4da71b46dc1360f6a71e5ccd9e267211e38 (patch)
treedf647bf4a65bac297a36f9d80f1f8c3d38d5b235 /synapse/storage
parentMove the impl of backfill to use events. (diff)
downloadsynapse-841df4da71b46dc1360f6a71e5ccd9e267211e38.tar.xz
Don't store any PDUs
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/transactions.py18
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