From 6de82157a4a653631245d77894bb852f41c915a4 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Tue, 8 Aug 2023 11:09:36 -0700 Subject: [PATCH] fix syntax --- synapse/storage/background_updates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index e98618e45657..eea0d1c8fbcc 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -760,7 +760,7 @@ def create_index_psql(conn: Connection) -> None: # override the global statement timeout to avoid accidentally squashing # a long-running index creation process - timeout_sql = "SET LOCAL statement timeout = 0" + timeout_sql = "SET LOCAL statement_timeout = 0" c.execute(timeout_sql) sql = (