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

--- Comment #6 from David Cook <[email protected]> ---
(In reply to Blou from comment #4)
>  A few old-school SELECT in
> C4::Context, and you reduce all your scripts memory footprints by a lot.  

That's the strategy I use in bug 27267 and it is highly effective. 

I need to rewrite the patch on that bug (if only I had infinite time).

I think the background jobs worker would benefit from the same approach. In the
RabbitMQ codeflow, the database lookup is very simple. It could easily be done
without an ORM.

The DB codeflow is a bit messier since it takes an arrayref for "queue". It can
still be done in plain SQL but is harder to do.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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