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

Commit

Permalink
fix: update doc and setting example to add port value (#127)
Browse files Browse the repository at this point in the history
Added to the Setting.example.toml file and the doc the change for the
database port. It is now configurable and should be added in the config
file.
  • Loading branch information
rllola authored Feb 13, 2024
1 parent ef3dae1 commit 78216b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/Settings.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ host = "localhost"
user = "postgres"
password = "wow"
dbname = "blockchain"
port = 5432
# Optional field to configure a timeout if database connection
# fails.
connection_timeout = 20
Expand Down
4 changes: 3 additions & 1 deletion docs/04-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ host = "localhost"
user = "postgres"
password = "wow"
dbname = "blockchain"

port = 5432
connection_timeout = 20 # Optional timeout value
create_index = true

[server]
serve_at = "0.0.0.0"
Expand Down

0 comments on commit 78216b6

Please sign in to comment.