From 748f9374d55711ac33e8ef555bb18530761ef170 Mon Sep 17 00:00:00 2001 From: rllola Date: Tue, 13 Feb 2024 22:17:17 +0100 Subject: [PATCH] update doc and setting example to add port vale --- config/Settings.example.toml | 1 + docs/04-server.md | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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"