Skip to content

Commit

Permalink
fix env vars doc
Browse files Browse the repository at this point in the history
  • Loading branch information
majodev committed Jan 29, 2024
1 parent 989cb2f commit a74c36f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit a74c36f

Please sign in to comment.