-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf(workflowengine): Cache query that is performed on every request #36568
Conversation
labels? |
4c56630
to
9b8dffa
Compare
Sorry, laggy wifi lost them it seem. |
Could add test conditions that cache is read, set and unset. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had that one on my Todo as well for way too long.
@juliushaertl you are up for that? cough |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
9b8dffa
to
aebf654
Compare
Added and also covered getAllConfiguredEvents with a test now. |
Failure unrelated |
This will save a query for available workflow engine events. The query itself is also not optimal as it does a not equal check on a text field which cannot use an index, however using caching is probably the easiest for now.
Checklist