There is 1 comment.
 
 
XWiki Commons / cid:jira-generated-image-avatar-db40798d-cefd-4061-835c-66159ec2574e XCOMMONS-3342 Open

DefaultExtensionJobHistory does not scale

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-fa3745f3-1504-4438-abb6-340e300c33f5 Thomas Mortagne on 22/May/25 14:42
 

Ideally, the storage needs to be completely changed to support the need covered by ExtensionJobHistory# without having to load them all in memory.

But an easier middle ground would be to change a bit the logic to load existing job history files only the first time getRecords is called (so when actually accessing the extension history UI), and keep in memory only what is asked (which by default is only the last 10). So make what is in memory more of a cache than the full storage.