Summary: | If a BackgroundJob should fail, it should NOT bring down the worker! | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook, jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27344 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27756 |
||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 22417 | ||
Bug Blocks: |
Description
Martin Renvoize (ashimema)
2021-02-24 19:42:22 UTC
(In reply to Martin Renvoize from comment #0) > Our worker does not fork to run tasks, so if a task explodes, the worker it > brought down with it... that is bad. Agreed. It should be forking. Even if we wrapped the processing in an eval{}, we should still be forking from a memory efficiency perspective. |