https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672
Bug ID: 29672
Summary: Increase performance of Koha::Plugins->call
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Every call to Koha::Plugins->call do a lot of database queries:
1) One in GetPlugins searches for available plugin_class in plugin_methods
table
2) One in Koha::Plugins::Base::is_enabled for each plugin returned by (1)
3) One or two in Koha::Plugins::Base::new for each plugin returned by (1) to
check the install status and the installed version
All of these requests only need to be made once per HTTP request at most. One
could argue that it's needed only at Koha startup but that besides the point of
this bug report.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/