Closed flux627 closed 5 years ago
What's the origin of this change?
What's the origin of this change?
Basically, if the blocks are irreversible, then there's no point in processing them in a transaction, whether we're in replay mode or not. From profiling, there is massive overhead (ha ha) in creating new transactions every block, since massive-js deep clones the massive DB instance every time.
Remove
isReplay
requirement to turn off Cyan Audit and process actions inside database transaction.