mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
Fix nothing being upserted
This commit is contained in:
parent
f74106bc71
commit
836bcaefe0
1 changed files with 4 additions and 0 deletions
|
@ -2655,6 +2655,10 @@ def _resolve_stale_data_in_sliding_sync_joined_rooms_table(
|
||||||
# No value columns, therefore make a blank list so that the following
|
# No value columns, therefore make a blank list so that the following
|
||||||
# zip() works correctly.
|
# zip() works correctly.
|
||||||
value_values=[() for x in range(len(chunk))],
|
value_values=[() for x in range(len(chunk))],
|
||||||
|
insertion_value_names=(),
|
||||||
|
# No value columns, therefore make a blank list so that the following
|
||||||
|
# zip() works correctly.
|
||||||
|
insertion_value_values=[() for x in range(len(chunk))],
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# Avoid adding the background updates when there is no data to run them on (if
|
# Avoid adding the background updates when there is no data to run them on (if
|
||||||
|
|
Loading…
Reference in a new issue