Summary: | Further reduce memory usage for idle background job worker | ||
---|---|---|---|
Product: | Koha | Reporter: | David Cook <dcook> |
Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | ||
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | |||
Bug Blocks: | 28410, 35092 |
Description
David Cook
2023-08-04 03:39:34 UTC
Thinking about this one again... We'd need to use optimized replacements for C4::Context->config, Koha::BackgroundJob->connect, Koha::Logger maybe, Koha::Backgrounds->*, etc Alternatively, maybe moving the majority of the code into the child process would be the way to go, and just have the parent process worry about the STOMP comms. Yeah, that would probably be the way to do it... So then really it's just about using optimized C4::Context->config() and Koha::BackgroundJob->connect, which would be much more doable. |