Fix typo in upserts code (#4505)

* fix obvious problem :|

* changelog
This commit is contained in:
Amber Brown 2019-01-29 10:04:23 +00:00 committed by GitHub
parent 17709f8f9c
commit 94fb63e44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/4505.misc Normal file
View File

@ -0,0 +1 @@
Synapse will now take advantage of native UPSERT functionality in PostgreSQL 9.5+ and SQLite 3.24+.

View File

@ -236,7 +236,7 @@ class SQLBaseStore(object):
self._unsafe_to_upsert_tables.discard("user_ips")
# If there's any tables left to check, reschedule to run.
if self.updates:
if updates:
self._clock.call_later(
15.0,
run_as_background_process,