1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Raise max setting of checkpoint_timeout to 1d

Previously checkpoint_timeout was capped at 3600s
New max setting is 86400s = 24h = 1d

Discussion: 32558.1454471895@sss.pgh.pa.us
This commit is contained in:
Simon Riggs
2016-09-11 23:26:18 +01:00
parent 52803098ab
commit c3c0d7bd70
3 changed files with 3 additions and 3 deletions

View File

@@ -2250,7 +2250,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_S
},
&CheckPointTimeout,
300, 30, 3600,
300, 30, 86400,
NULL, NULL, NULL
},

View File

@@ -203,7 +203,7 @@
# - Checkpoints -
#checkpoint_timeout = 5min # range 30s-1h
#checkpoint_timeout = 5min # range 30s-1d
#max_wal_size = 1GB
#min_wal_size = 80MB
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0