Closed Bug 1928287 Opened 11 months ago Closed 10 months ago

Don't ping Merino for geolocation too often

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox133 --- fixed
firefox134 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

(Whiteboard: [sng-cityweather])

Attachments

(1 file)

We discussed caching the Merino geolocation response in https://phabricator.services.mozilla.com/D226858 (bug 1927010), and on second thought I think that's worth doing. It doesn't need to be cached for long, just so we don't ping Merino for it on each keystroke.

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9fdcdccf7fcd Cache Merino geolocation for a brief period so we don't ping it on every keystroke. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

Comment on attachment 9434404 [details]
Bug 1928287 - Cache Merino geolocation for a brief period so we don't ping it on every keystroke.

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: This is a small fix to city-based weather suggestions on desktop, which we want for 133
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1927960 should be uplifted first
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This is a small optimization to weather suggestions with no user-visible changes. Weather suggestion are preffed off and are US-only when preffed on.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9434404 - Flags: approval-mozilla-beta?

Comment on attachment 9434404 [details]
Bug 1928287 - Cache Merino geolocation for a brief period so we don't ping it on every keystroke.

Approved for 133.0b4

Attachment #9434404 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: