Closed Bug 1293475 Opened 5 years ago Closed 5 years ago

Self-repair driver makes multiple requests for the same action

Categories

(Firefox :: Normandy Server, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: osmose, Assigned: osmose)

Details

If there are multiple recipes using the same action, the self-repair driver currently makes multiple requests to the same URL to download the action, one for each recipe using it. It should really just make one request per-action.
Priority: -- → P2
Assignee: nobody → mkelly
Commit pushed to master at https://github.com/mozilla/normandy

https://github.com/mozilla/normandy/commit/f09024207805926a200fcdf1ad3d33e398f265ee
Cache action requests to the server in the self-repair runner.

Splits the loadAction function in two to make testing easier and
the design cleaner.

Fixes bug 1293475
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Shield → Firefox
You need to log in before you can comment on or make changes to this bug.