1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2024-12-24 16:28:34 +02:00

Increase the maximum number of connections

This is to simplify testing using the `-count=100` option.
This commit is contained in:
Vasiliy Vasilyuk 2023-07-12 21:26:05 +03:00
parent 59c4d2e3e1
commit 1957a32dcb
No known key found for this signature in database
GPG Key ID: CD966F83D6FAFF48

View File

@ -3,6 +3,7 @@ version: "3.8"
services:
postgres:
image: postgres:15.3-alpine3.18
command: postgres -c 'max_connections=1000'
environment:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres