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

--- Comment #11 from David Cook <[email protected]> ---
(In reply to David Cook from comment #9)
> We could use the patch attached here, but I'm thinking that we might want to
> first fix the Koha::Plugins->call() so that it uses the database lookup for
> the method, caches it, and goes from there.

It looks like I talked to Julian about this years ago on bug 29672. I thought
there was a newer bug...

--

I was concerned about RAM usage here, but it looks like you've added the
"Koha::Plugins->get_enabled_plugins();" after the background_jobs_worker.pl
forks, so that's good. 

It would be more efficient to update Koha::Plugins->call(), but that would be
more work. This is a practical solution... 

--
On a side note, for Koha::Plugin::FancyPlugin, does the
Koha::Schema->register_class and Koha::Database->schema({ new => 1 }) have to
be in the BEGIN block?

Could you wrap it with a check for a plack environmental variable?

-- 
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/

Reply via email to