summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-11 15:14:25 +0000
committerErik Johnston <erik@matrix.org>2018-01-12 10:04:52 +0000
commitbba53f804889fbcaf90a53e4302218cbe25dd690 (patch)
treed2f23571a38844c539da3940841a7f0b52eb3998 /synapse/storage/state.py
parentSplit state group persist into seperate storage func (diff)
downloadsynapse-bba53f804889fbcaf90a53e4302218cbe25dd690.tar.xz
Add per database engine code for state group id gen
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r--synapse/storage/state.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py

index 044d30e97b..a942f59adc 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py
@@ -641,8 +641,7 @@ class StateStore(StateGroupReadStore, BackgroundUpdateStore): ) return - # FIXME Replace this with Postgres/SQLITE specific ID generation - state_group = 456 + state_group = self.database_engine.get_next_state_group_id(txn) self._simple_insert_txn( txn,