Skip to content

Set PostgreSQL archive_timeout to 0 by default

Stan Hu requested to merge sh-disable-wal-archiving-by-default into master

A 60-second archive_timeout will cause PostgreSQL to generate a 16 MB WAL file every minute, which can fill up disk quickly and cause downtime. Most users don't need this on by default, especially if streaming replication is being used.

Closes gitlab-org/gitlab-ee#4787

Merge request reports