File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ ENV POSTGRES_PASSWORD=postgres
7
7
COPY healthcheck.sh /usr/local/bin/
8
8
9
9
RUN chmod u+x /usr/local/bin/healthcheck.sh
10
+ RUN echo max_prepared_transactions = 16 >> /var/lib/postgresql/data/postgresql.conf
10
11
11
12
HEALTHCHECK --interval=5s --timeout=60s CMD ["healthcheck.sh"]
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ shared_buffers = 128MB # min 128kB
123
123
#huge_pages = try # on, off, or try
124
124
# (change requires restart)
125
125
#temp_buffers = 8MB # min 800kB
126
- # max_prepared_transactions = 0 # zero disables the feature
126
+ max_prepared_transactions = 16 # zero disables the feature
127
127
# (change requires restart)
128
128
# Caution: it is not advisable to set max_prepared_transactions nonzero unless
129
129
# you actively intend to use prepared transactions.
You can’t perform that action at this time.
0 commit comments