diff --git a/.env b/.env index ba8cf6267b7..dfe279267f8 100644 --- a/.env +++ b/.env @@ -24,8 +24,5 @@ HEALTHCHECK_FILE_INTERVAL=60s HEALTHCHECK_FILE_TIMEOUT=10s HEALTHCHECK_FILE_RETRIES=3 HEALTHCHECK_FILE_START_PERIOD=600s -# Caution: Raising max connections of postgres increases CPU and RAM usage -# see https://github.com/getsentry/self-hosted/pull/2740 for more information -POSTGRES_MAX_CONNECTIONS=100 # Set SETUP_JS_SDK_ASSETS to 1 to enable the setup of JS SDK assets # SETUP_JS_SDK_ASSETS=1 diff --git a/docker-compose.yml b/docker-compose.yml index 77a4a938e48..7d89d34c394 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -139,7 +139,7 @@ services: # Using default user "postgres" from sentry/sentry.conf.example.py or value of POSTGRES_USER if provided test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"] command: - ["postgres", "-c", "max_connections=${POSTGRES_MAX_CONNECTIONS:-100}"] + ["postgres"] environment: POSTGRES_HOST_AUTH_METHOD: "trust" volumes: