Skip to content

Commit

Permalink
keeper: remove hardcoded wal archive parameters.
Browse files Browse the repository at this point in the history
Now they can be configured by the user.
  • Loading branch information
sgotti committed Nov 2, 2015
1 parent cbad1a5 commit f75de1e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,8 @@ func init() {

var defaultPGParameters = pg.Parameters{
"unix_socket_directories": "/tmp",
"archive_mode": "on",
"wal_level": "hot_standby",
"archive_command": "mkdir -p ../wal_archive && cp %p ../wal_archive/%f",
"wal_keep_segments": "8",
"archive_timeout": "1800s",
"hot_standby": "on",
}

Expand Down

0 comments on commit f75de1e

Please sign in to comment.