Skip to content

Commit e67f42d

Browse files
authored
DB configuration from homeserver.yaml is not picking up the port (#123)
get the database port from homeserver config Signed-off-by: neil-lcv-cs <142019916+neil-lcv-cs@users.noreply.github.com>
1 parent bdc46a7 commit e67f42d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/s3_media_upload

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ def get_homeserver_db_conn(parser, homeserver_config_path):
425425
password=database_args["password"],
426426
database=database_args["database"],
427427
host=database_args["host"],
428+
port=database_args["port"],
428429
)
429430
except sqlite3.OperationalError as e:
430431
parser.error("Could not connect to sqlite3 database: %s" % (e,))

0 commit comments

Comments
 (0)