mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
store in CLS only entity change IDs instead of whole records
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user