summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-07 13:46:37 +0000
committerErik Johnston <erik@matrix.org>2015-01-07 13:46:37 +0000
commit82be4457deeab9cc4e21ffebfec78bb2bac2e5b1 (patch)
tree12a21bfb987d9a2297ef9a1bed93fe22cb4a0ff7 /synapse/storage
parentRemove unused import (diff)
downloadsynapse-82be4457deeab9cc4e21ffebfec78bb2bac2e5b1.tar.xz
Add twisted Service interface
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index f660fc6eaf..ce63f12008 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -95,6 +95,7 @@ class SQLBaseStore(object):
                 current_context.copy_to(context)
                 start = time.time() * 1000
                 txn_id = SQLBaseStore._TXN_ID
+                SQLBaseStore._TXN_ID += 1
 
                 # We don't really need these to be unique, so lets stop it from
                 # growing really large.