Skip to content

Commit 4b4180b

Browse files
committed
Don't vacuum aggregator cardano transaction database at startup
As it can be very large, contrary to the signer were the db is pruned regularly.
1 parent 7f06b70 commit 4b4180b

File tree

1 file changed

+2
-1
lines changed
  • mithril-aggregator/src/dependency_injection

1 file changed

+2
-1
lines changed

mithril-aggregator/src/dependency_injection/builder.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ impl DependenciesBuilder {
361361
let _connection = self.build_sqlite_connection(
362362
SQLITE_FILE_CARDANO_TRANSACTION,
363363
mithril_persistence::database::cardano_transaction_migration::get_migrations(),
364-
true,
364+
// Don't vacuum the Cardano transactions database as it can be very large
365+
false,
365366
)?;
366367

367368
let connection_pool = Arc::new(SqliteConnectionPool::build(connection_pool_size, || {

0 commit comments

Comments
 (0)