wallet: Batch database actions in processBlockCachedUtxos() (#5788)

This commit is contained in:
Chris Stewart 2024-11-26 10:35:08 -06:00 committed by GitHub
parent ba8dd75312
commit d5a77a2297
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,7 +226,7 @@ case class TransactionProcessing(
}
actionsF
.flatMap(actions => Future.sequence(actions.map(safeDatabase.run)))
.flatMap(actions => safeDatabase.run(DBIOAction.sequence(actions)))
.map(_ => ())
}