summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-07-20 13:29:25 -0400
committerGitHub <noreply@github.com>2020-07-20 18:29:25 +0100
commit5ecf98f59ecb9eced2fada5cb74bb10a5700f9a3 (patch)
tree61f8123b7e3351a8d48d648797dcc933c1e44cb9 /synapse/config
parentFix deprecation warning due to invalid escape sequences (#7895) (diff)
downloadsynapse-5ecf98f59ecb9eced2fada5cb74bb10a5700f9a3.tar.xz
Change sample config's postgres user to synapse_user (#7889)
The [postgres setup docs](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#set-up-database) recommend setting up your database with user `synapse_user`.

However, uncommenting the postgres defaults in the sample config leave you with user `synapse`.

This PR switches the sample config to recommend `synapse_user`. Took a me a second to figure this out, so assume this will beneficial to others.
Diffstat (limited to '')
-rw-r--r--synapse/config/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/database.py b/synapse/config/database.py
index 1064c2697b..62bccd9ef5 100644
--- a/synapse/config/database.py
+++ b/synapse/config/database.py
@@ -55,7 +55,7 @@ DEFAULT_CONFIG = """\
 #database:
 #  name: psycopg2
 #  args:
-#    user: synapse
+#    user: synapse_user
 #    password: secretpassword
 #    database: synapse
 #    host: localhost