Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions adm/mfxxx.start.custom
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
if test "${MFBASE_POSTGRESQL_FLAG}" = "1"; then
# Comment line "max_connections = " as it is now provided from config in ${MFMODULE_RUNTIME_HOME}/tmp/config_auto/postgresql.conf
sed -i 's/^#\?max_connections.*/#max_connections (default 100) is set in included file (see below)/g' ${MFBASE_POSTGRESQL_DATA_DIR}/postgresql.conf
# Comment line "max_locks_per_transaction = " as it is now provided from config in ${MFMODULE_RUNTIME_HOME}/tmp/config_auto/postgresql.conf
sed -i 's/^#\?max_locks_per_transaction.*/#max_locks_per_transaction (default 64) is set in included file (see below)/g' ${MFBASE_POSTGRESQL_DATA_DIR}/postgresql.conf
fi
{% endblock %}

1 change: 1 addition & 0 deletions config/config.ini.custom
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
flag=1
data_dir={{MFMODULE_RUNTIME_HOME}}/var/pgsql
max_connections=100
max_locks_per_transaction=64
dbname=metwork
port=7432
locale=C
Expand Down
1 change: 1 addition & 0 deletions config/postgresql.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
port={{MFBASE_POSTGRESQL_PORT}}
max_connections={{MFBASE_POSTGRESQL_MAX_CONNECTIONS}}
max_locks_per_transaction={{MFBASE_POSTGRESQL_MAX_LOCKS_PER_TRANSACTION}}
log_destination = 'stderr'
logging_collector = off
log_min_messages = warning
Expand Down
Loading