diff options
author | reivilibre <38398653+reivilibre@users.noreply.github.com> | 2021-09-20 10:26:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 10:26:13 +0100 |
commit | 437961744c6c8761e6483bb215e5e779123ffd97 (patch) | |
tree | 73ca6a2ae76a0f52eabac3e8f923074716f76f80 /synapse/storage/databases/state | |
parent | Fix #10837 by adding JSON encoding/decoding to the Module API example… (#10... (diff) | |
download | synapse-437961744c6c8761e6483bb215e5e779123ffd97.tar.xz |
Fix remove_stale_pushers job on SQLite. (#10843)
Diffstat (limited to 'synapse/storage/databases/state')
-rw-r--r-- | synapse/storage/databases/state/store.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py index f1e3a27e63..c4c8c0021b 100644 --- a/synapse/storage/databases/state/store.py +++ b/synapse/storage/databases/state/store.py @@ -664,7 +664,7 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore): txn, table="state_groups_state", column="state_group", - iterable=state_groups_to_delete, + values=state_groups_to_delete, keyvalues={}, ) @@ -675,7 +675,7 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore): txn, table="state_group_edges", column="state_group", - iterable=state_groups_to_delete, + values=state_groups_to_delete, keyvalues={}, ) @@ -686,6 +686,6 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore): txn, table="state_groups", column="id", - iterable=state_groups_to_delete, + values=state_groups_to_delete, keyvalues={}, ) |