Make better use of caching with currentVersions.py

RESOLVED FIXED in 2.3.3

Status

Socorro
General
RESOLVED FIXED
7 years ago
6 years ago

People

(Reporter: brandon, Assigned: brandon)

Tracking

Trunk
2.3.3
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

Comment hidden (empty)
(Assignee)

Updated

7 years ago
Target Milestone: --- → 2.3.4
This appears to be the cause of most of the intermittent errors people have alerted me to since the last release, here is an example:

2011-11-23 06:26:18 -08:00 --- error: Web_Service 28 connect() timed out! while retrieving http://socorro-mware-zlb.webapp.phx1.mozilla.com/bpapi/201106/current
/versions/product_name%2Cversion_string which was HTTP status 0

Updated

7 years ago
Target Milestone: 2.3.4 → 2.3.3

Comment 2

7 years ago
Commits pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/2ec94ed318a88fb6ea5a10493012060c12a748dd
Fixes Bug 702350 - Add caching by default, and set up a way to clear the cache when we intentionally change the data.

https://github.com/mozilla/socorro/commit/5d8a58e9a9e0c9da83590bd7d479e05786c33089
Merge pull request #179 from brandonsavage/bug702350

Fixes Bug 702350 - Add caching by default, and set up a way to clear the...

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Notes for QA - I tested this locally (by adding debug logging to see what the cache hit looked like before/after), looks as-expected after (cache is set once, then all pages fetch the same cache instead of each having their own).

This code affects every page (product/value pulldowns) so I think this could be qa- and the automated tests should help flush out any regressions.

Comment 4

7 years ago
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/e17d6c3b6536903cd040dde6c3a289f27039f09c
Fixes Bug 702350 - Add caching by default, and set up a way to clear the cache when we intentionally change the data.
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.