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

Commit b85821a

Browse files
Add port parameter to the sample config for psycopg2 args (#9911)
Adds the `port` option with the default value to the sample config file.
1 parent 4d624f4 commit b85821a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

changelog.d/9911.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add `port` argument to the Postgres database sample config section.

docs/sample_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ caches:
810810
# password: secretpassword
811811
# database: synapse
812812
# host: localhost
813+
# port: 5432
813814
# cp_min: 5
814815
# cp_max: 10
815816
#

synapse/config/database.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
# password: secretpassword
5959
# database: synapse
6060
# host: localhost
61+
# port: 5432
6162
# cp_min: 5
6263
# cp_max: 10
6364
#

0 commit comments

Comments
 (0)