|
|
|
|
|
by jtchang
4615 days ago
|
|
I use postgres and ran into this issue as well. Inside postgres.conf for the slave I have the following: # These settings are ignored on a master server. hot_standby = on # "on" allows queries during recovery
# (change requires restart)
max_standby_archive_delay = 900s # max delay before canceling queries
# when reading WAL from archive;
# -1 allows indefinite delay
max_standby_streaming_delay = 900s # max delay before canceling queries
# when reading streaming WAL;
# -1 allows indefinite delay
#wal_receiver_status_interval = 10s # send replies at least this often
# 0 disables
#hot_standby_feedback = off # send info from standby to prevent
# query conflicts So I set it to 15 minutes for this specific backup server which I am okay with. I already have another server with much shorter time delays. |
|