Open Bug 1705192 Opened 4 years ago Updated 3 years ago

Allow `UpdateUtils.readUpdateConfigSetting` to read more than one setting at once

Categories

(Toolkit :: Application Update, task, P3)

task

Tracking

()

People

(Reporter: bytesized, Unassigned)

References

Details

(Whiteboard: [fidedi-ope])

There are a number of places when we read multiple settings via the UpdateUtils.readUpdateConfigSetting interface. One of these places (in the Telemetry Environment, see Bug 1703307) happens somewhat early during startup. It's a bit silly that we are currently reading the same file twice when we do this. Ideally, we would only read the file once in situations like that.

I'm not yet sure if I want to add a mechanism to request multiple settings at once, or if I want to add a mechanism to allow cached data to be returned when read requests happen very close together.

Priority: -- → P3
Whiteboard: [fidedi-ope]
You need to log in before you can comment on or make changes to this bug.