Skip to content

Commit

Permalink
Update postgres config - staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed May 16, 2024
1 parent 42a573a commit ac2f92f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions images/db/config/postgresql.staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ listen_addresses = '*'
# defaults to 'localhost'; use '*' for all
# (change requires restart)
#port = 5432 # (change requires restart)
max_connections = 200 # (change requires restart)
max_connections = 100 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
#unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
# (change requires restart)
Expand Down Expand Up @@ -474,7 +474,7 @@ min_wal_size = 80MB

# - When to Log -

log_min_messages = debug1 # values in order of decreasing detail:
#log_min_messages = warning # values in order of decreasing detail:
# debug5
# debug4
# debug3
Expand Down Expand Up @@ -502,7 +502,7 @@ log_min_messages = debug1 # values in order of decreasing detail:
# fatal
# panic (effectively off)

log_min_duration_statement = '1000' # log queries that take longer than 1000ms (1 second)
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
# and their durations, > 0 logs only
# statements running at least this number
# of milliseconds
Expand Down Expand Up @@ -535,7 +535,7 @@ log_min_duration_statement = '1000' # log queries that take longer than 1000ms
# of milliseconds.
#log_checkpoints = off
log_connections = on
log_disconnections = on
#log_disconnections = off
log_duration = on
#log_error_verbosity = default # terse, default, or verbose messages
#log_hostname = off
Expand Down Expand Up @@ -674,7 +674,7 @@ log_timezone = 'Etc/UTC'
#default_transaction_read_only = off
#default_transaction_deferrable = off
#session_replication_role = 'origin'
statement_timeout = 60000 # example setting for 60 seconds
#statement_timeout = 0 # in milliseconds, 0 is disabled
#lock_timeout = 0 # in milliseconds, 0 is disabled
#idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled
#idle_session_timeout = 0 # in milliseconds, 0 is disabled
Expand Down

0 comments on commit ac2f92f

Please sign in to comment.