From a74c36f62433cddd8a8f68de280545ef33a467a1 Mon Sep 17 00:00:00 2001 From: Mario Ranftl Date: Mon, 29 Jan 2024 19:18:01 +0100 Subject: [PATCH] fix env vars doc --- CHANGELOG.md | 4 ++-- README.md | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ac54c8..b21a86f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,12 +70,12 @@ There have been quite a few additions and changes, thus we have the in-depth det #### Manager/Pool-related -- Added `INTEGRESQL_TEST_MAX_POOL_SIZE`: +- Changed `INTEGRESQL_TEST_MAX_POOL_SIZE`: - Maximal pool size that won't be exceeded - Defaults to "your number of CPU cores 4 times" [`runtime.NumCPU()*4`](https://pkg.go.dev/runtime#NumCPU) - Previous default was `500` (hardcoded) - This might be a **significant change** for some usecases, please adjust accordingly. The pooling recreation logic is now much faster, there is typically no need to have such a high limit of test-databases **per pool**! -- Added `INTEGRESQL_TEST_INITIAL_POOL_SIZE`: +- Changed `INTEGRESQL_TEST_INITIAL_POOL_SIZE`: - Initial number of ready DBs prepared in background. The pool is configured to always try to have this number of ready DBs available (it actively tries to recreate databases within the pool in a FIFO manner). - Defaults to [`runtime.NumCPU()`](https://pkg.go.dev/runtime#NumCPU) - Previous default was `10` (hardcoded) diff --git a/README.md b/README.md index c5670ca..0bc5931 100644 --- a/README.md +++ b/README.md @@ -143,8 +143,6 @@ integresql ## Configuration -> TODO ENV VARIABLES! - `IntegreSQL` requires little configuration, all of which has to be provided via environment variables (due to the intended usage in a Docker environment). The following settings are available: | Description | Environment variable | Required | Default |