Skip to content

Commit

Permalink
Use VACUUM when migrating from DB versions below 21 (#6283)
Browse files Browse the repository at this point in the history
## Motivation

We need to vacuum the DB after migrations, and with #6085 merged, we need to use VACUUM INTO based migration for recent DB schema updates
  • Loading branch information
ivan4th committed Aug 22, 2024
1 parent e8cd90a commit 683ec62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func MainnetConfig() Config {
MetricsPort: 1010,
DatabaseConnections: 16,
DatabasePruneInterval: 30 * time.Minute,
DatabaseVacuumState: 15,
DatabaseVacuumState: 21,
PruneActivesetsFrom: 12, // starting from epoch 13 activesets below 12 will be pruned
NetworkHRP: "sm",

Expand Down

0 comments on commit 683ec62

Please sign in to comment.