Skip to content

TASK: prevent setProperty from running multiple times on one update#26

Open
batabana wants to merge 1 commit intopunktDe:masterfrom
batabana:task/improve-performance
Open

TASK: prevent setProperty from running multiple times on one update#26
batabana wants to merge 1 commit intopunktDe:masterfrom
batabana:task/improve-performance

Conversation

@batabana
Copy link
Contributor

After updating to the new release changes on properties of type 'references' kept on taking very long. On checking the logs we saw a very huge amount of update messages for this one property, repeatedly for all dimensions. This was also happening in a much smaller scope for simple string properties. Apparently setting a property kept on emitting the nodePropertyChanged signal and sent us into too many repetitions.

@batabana batabana force-pushed the task/improve-performance branch from a8cca2d to 765a645 Compare June 13, 2022 15:48
* @param NodeInterface $node
* @return array|null
*/
protected static function getExcludedProperties(NodeInterface $node): ?array

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ist das korrekt, dass die rausfliegt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ich denke, weil den config key "excludeProperties" gibts in der neuen version eigentlich nicht mehr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants