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

Commit

Permalink
Change sample config's postgres user to synapse_user (#7889)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
anoadragon453 committed Jul 20, 2020
1 parent 4380207 commit 5ecf98f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/7889.doc
@@ -0,0 +1 @@
Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation.
2 changes: 1 addition & 1 deletion docs/sample_config.yaml
Expand Up @@ -685,7 +685,7 @@ caches:
#database:
# name: psycopg2
# args:
# user: synapse
# user: synapse_user
# password: secretpassword
# database: synapse
# host: localhost
Expand Down
2 changes: 1 addition & 1 deletion synapse/config/database.py
Expand Up @@ -55,7 +55,7 @@
#database:
# name: psycopg2
# args:
# user: synapse
# user: synapse_user
# password: secretpassword
# database: synapse
# host: localhost
Expand Down

0 comments on commit 5ecf98f

Please sign in to comment.