Closed
Bug 999060
Opened 10 years ago
Closed 10 years ago
crontabber mixins over propagate requirements
Categories
(Socorro :: Backend, task)
Tracking
(Not tracked)
RESOLVED
FIXED
83
People
(Reporter: lars, Assigned: lars)
Details
Attachments
(1 file)
I've discovered that the mixins are overworking. If we have jobs A, B and C, at they, repetitively require resources X, Y and Z, the mixins will set it up like this: A -> X B -> X, Y C -> X, Y, Z when it should be: A -> X B -> Y C -> Z this happens because the mixin decorators are using the 'required_config' directly rather than calling the 'get_required_config' method. This is a relatively benign problem as jobs with extra resources just ignore them. It makes for messy ini files, though.
Comment 1•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/77600e10758f34444f3a59f95fe2b7f64fdb9ff6 Merge pull request #2011 from twobraids/mixin-mixup Fixes Bug 999060 - mixins inadvertently propagate changes to other classes
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 83
You need to log in
before you can comment on or make changes to this bug.
Description
•