Skip to content

Commit b7bb064

Browse files
authored
Revert "increase postgres max_connections above 100 connections (#2740)" (#3899)
This reverts commit 7691add.
1 parent 2862432 commit b7bb064

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.env

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,5 @@ HEALTHCHECK_FILE_INTERVAL=60s
2424
HEALTHCHECK_FILE_TIMEOUT=10s
2525
HEALTHCHECK_FILE_RETRIES=3
2626
HEALTHCHECK_FILE_START_PERIOD=600s
27-
# Caution: Raising max connections of postgres increases CPU and RAM usage
28-
# see https://github.com/getsentry/self-hosted/pull/2740 for more information
29-
POSTGRES_MAX_CONNECTIONS=100
3027
# Set SETUP_JS_SDK_ASSETS to 1 to enable the setup of JS SDK assets
3128
# SETUP_JS_SDK_ASSETS=1

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ services:
139139
# Using default user "postgres" from sentry/sentry.conf.example.py or value of POSTGRES_USER if provided
140140
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
141141
command:
142-
["postgres", "-c", "max_connections=${POSTGRES_MAX_CONNECTIONS:-100}"]
142+
["postgres"]
143143
environment:
144144
POSTGRES_HOST_AUTH_METHOD: "trust"
145145
volumes:

0 commit comments

Comments
 (0)