[Koha-bugs] [Bug 28410] [Omnibus] Reduce memory footprint

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 26 00:14:56 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28410

--- Comment #10 from David Cook <dcook at prosentient.com.au> ---
(In reply to Blou from comment #9)
> I followed on David's comment and tried a few lazy loading.  Some have a
> good impact (like ZOOM), but others like the TimeZone have no impact because
> it's included in some other module in the Koha::Caches or Koha::Config
> hierarchy. 

Have you run the test suite? We need to make sure that no other code was
relying on C4::Context loading those modules when it's loaded.

> Lazy loading Koha::Config makes no sense, and Cache is cycling back to
> Context, funnily.

That's one of those circular dependencies. 

> I can try some ugly code for the preferences, as a POC.  I hope to have time
> this week, if no one else give it a go.

So bug 28410 isn't the right place to put patches. You'll want to raise
separate tickets and then link them using "Depends on".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list