diff --git a/config/Settings.example.toml b/config/Settings.example.toml index 72582b0..2b46e51 100644 --- a/config/Settings.example.toml +++ b/config/Settings.example.toml @@ -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 diff --git a/docs/04-server.md b/docs/04-server.md index 9c50537..ea95f5f 100644 --- a/docs/04-server.md +++ b/docs/04-server.md @@ -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"