Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Aug 8, 2023
1 parent 81a36d7 commit 6de8215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/background_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit 6de8215

Please sign in to comment.