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

feat: decrease query count by cacheing some RDF property fields #3921

Conversation

mccar
Copy link
Contributor

@mccar mccar commented Nov 2, 2023

Ticket - https://oat-sa.atlassian.net/browse/REL-1279

Goal

Decrease query count by cacheing some RDF property fields

Changelog

  • feat: added cache for fields isLgDependent, isMultiple, isRelationship and control changes on set and delete data in the database

How to test

  1. Run tao/scripts/taoInit.php to check warmup
  2. To check how to works method OntologyUpdater::modelSync you can add it to tao/scripts/taoInit.php because running it in an update depends on the version and does not run every time

@codecov-commenter
Copy link

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (ada8249) 27.36% compared to head (b895c67) 27.35%.
Report is 6 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3921      +/-   ##
=============================================
- Coverage      27.36%   27.35%   -0.01%     
- Complexity     10968    10971       +3     
=============================================
  Files            922      923       +1     
  Lines          33810    33819       +9     
=============================================
  Hits            9251     9251              
- Misses         24559    24568       +9     
Files Coverage Δ
...sses/listener/ClassPropertyCacheWarmupListener.php 0.00% <0.00%> (ø)

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

Copy link

github-actions bot commented Nov 2, 2023

Version

Target Version 53.12.0
Last version 53.11.3

There are 0 BREAKING CHANGE, 2 features, 0 fix

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.

2 participants