Skip to content
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

Changed the eventListener to not use EventInstances with Data since this has a major impact on memory usage. #1685

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

Tim-Linschoten
Copy link
Member

Changed the eventListener to not use EventInstances with Data since this has a major impact on memory usage.

xk00lj added 2 commits June 4, 2024 08:23
…tead works with the event name. This is required since sending the EventInstance around including the Ingredients bloated the memory and had major performance impact. It also goes against the idea that ingredients are contained only in the process. In general ingredients are possible client data so should not be accessible in to many places.
@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 79.65%. Comparing base (d7b612e) to head (4b47185).

Files Patch % Lines
...in/scala/com/ing/bakery/components/EventSink.scala 0.00% 4 Missing ⚠️
...n/scala/com/ing/baker/runtime/akka/AkkaBaker.scala 0.00% 1 Missing ⚠️
.../akka/actor/process_instance/ProcessInstance.scala 50.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1685      +/-   ##
==========================================
- Coverage   79.81%   79.65%   -0.16%     
==========================================
  Files         143      143              
  Lines        4845     4842       -3     
  Branches      170      162       -8     
==========================================
- Hits         3867     3857      -10     
- Misses        978      985       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jwalgemoed
jwalgemoed previously approved these changes Jun 10, 2024
@Tim-Linschoten Tim-Linschoten merged commit 25f07ea into master Jun 10, 2024
2 checks passed
@Tim-Linschoten Tim-Linschoten deleted the eventlistener-memory-fixes branch June 10, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants