store in CLS only entity change IDs instead of whole records

This commit is contained in:
zadam
2021-09-16 15:02:20 +02:00
parent 0448883782
commit 2b017a956e
5 changed files with 29 additions and 22 deletions

View File

@@ -248,7 +248,7 @@ function transactional(func) {
return ret;
}
catch (e) {
const entityChanges = cls.getAndClearEntityChanges();
const entityChanges = cls.getAndClearEntityChangeIds();
if (entityChanges.length > 0) {
log.info("Transaction rollback dirtied the becca, forcing reload.");