Skip to content

Commit

Permalink
feat: Improve Profile Settings Performances - MEED-8012 - #2661 (#2710)
Browse files Browse the repository at this point in the history
This change will introduce the default cache configuration of Profile
Property Settings. This change will introduce two cache configurations:
- A cache of `ProfilePropertySetting` by `Id`
- A cache of `Id` by `Name`.
  • Loading branch information
boubaker authored Dec 26, 2024
1 parent fca9187 commit b99053c
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,36 @@
</field>
</object>
</object-param>
<object-param>
<name>social.profileSettings</name>
<description></description>
<object type="org.exoplatform.services.cache.ExoCacheConfig">
<field name="name">
<string>social.profileSettings</string>
</field>
<field name="maxSize">
<int>${meeds.cache.social.profileSettings.MaxNodes:2000}</int>
</field>
<field name="liveTime">
<long>${meeds.cache.social.profileSettings.TimeToLive:-1}</long>
</field>
</object>
</object-param>
<object-param>
<name>social.profileSettingIdsByName</name>
<description></description>
<object type="org.exoplatform.services.cache.ExoCacheConfig">
<field name="name">
<string>social.profileSettingIdsByName</string>
</field>
<field name="maxSize">
<int>${meeds.cache.social.profileSettingIdsByName.MaxNodes:2000}</int>
</field>
<field name="liveTime">
<long>${meeds.cache.social.profileSettingIdsByName.TimeToLive:-1}</long>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
Expand Down

0 comments on commit b99053c

Please sign in to comment.