Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
spatialgeobyte committed Mar 16, 2024
1 parent 200561d commit d9a3df7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ This image uses the initial PostgreSQL values which disables the archiving optio
* `-e WAL_SIZE=4GB`
* `-e MIN_WAL_SIZE=2048MB`
* `-e WAL_SEGSIZE=1024`
* `-e MAINTAINANCE_WORK_MEM=128MB`
* `-e MAINTENANCE_WORK_MEM=128MB`

#### Configure networking

Expand Down
8 changes: 4 additions & 4 deletions scripts/env-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ if [ -z "${IP_LIST}" ]; then
IP_LIST='*'
fi

if [ -z "${MAINTAINANCE_WORKERS}" ]; then
MAINTAINANCE_WORKERS=2
if [ -z "${MAINTENANCE_WORKERS}" ]; then
MAINTENANCE_WORKERS=2
fi

if [ -z "${ARCHIVE_MODE}" ]; then
Expand Down Expand Up @@ -251,8 +251,8 @@ if [ -z "${MAX_WORKERS}" ]; then
MAX_WORKERS=4
fi

if [ -z "${MAINTAINANCE_WORK_MEM}" ]; then
MAINTAINANCE_WORK_MEM=128MB
if [ -z "${MAINTENANCE_WORK_MEM}" ]; then
MAINTENANCE_WORK_MEM=128MB
fi


Expand Down
4 changes: 2 additions & 2 deletions scripts/setup-conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ superuser_reserved_connections= 10
listen_addresses = '${IP_LIST}'
shared_buffers = ${SHARED_BUFFERS}
work_mem = ${WORK_MEM}
maintenance_work_mem = ${MAINTAINANCE_WORK_MEM}
maintenance_work_mem = ${MAINTENANCE_WORK_MEM}
wal_buffers = ${WAL_BUFFERS}
random_page_cost = 2.0
xmloption = 'document'
max_parallel_maintenance_workers = ${MAINTAINANCE_WORKERS}
max_parallel_maintenance_workers = ${MAINTENANCE_WORKERS}
max_parallel_workers = ${MAX_WORKERS}
shared_preload_libraries = '${SHARED_PRELOAD_LIBRARIES}'
cron.database_name = '${SINGLE_DB}'
Expand Down

0 comments on commit d9a3df7

Please sign in to comment.