Merge pull request #186518 from marsam/update-timescaledb-tune

timescaledb-tune: 0.13.0 -> 0.13.1
This commit is contained in:
Mario Rodas 2022-08-13 17:44:53 -05:00 committed by GitHub
commit 523307afb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 15 deletions

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "timescaledb-tune";
version = "0.13.0";
version = "0.13.1";
src = fetchFromGitHub {
owner = "timescale";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YZMjgEnZKxmGIO9gK00JXBpBRvNgZoXNA/cNieovT+g=";
sha256 = "sha256-sCwMLVp4MCTJ5ZgALDs+of+upYMQeHz3xRk4YD2g23M=";
};
vendorSha256 = "sha256-n2jrg9FiR/gSrbds/QVV8Duf7BTEs36yYi4F3Ve+d0E=";

View File

@ -1,13 +0,0 @@
diff --git a/pkg/pgtune/misc.go b/pkg/pgtune/misc.go
index 1fceb6e..3e76be5 100644
--- a/pkg/pgtune/misc.go
+++ b/pkg/pgtune/misc.go
@@ -35,7 +35,7 @@ const (
// If you want to lower this value, consider that Patroni will not accept anything less than 25 as
// a valid max_connections and will replace it with 100, per
// https://github.com/zalando/patroni/blob/00cc62726d6df25d31f9b0baa082c83cd3f7bef9/patroni/postgresql/config.py#L280
- minMaxConns = 25
+ minMaxConns = 20
)
// MaxConnectionsDefault is the recommended default value for max_connections.