Skip to content

Commit

Permalink
Bug 1168989 - Sort json used for series summary cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
wlach committed May 28, 2015
1 parent 82de9c1 commit 123fc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treeherder/model/derived/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def get_performance_series_summary(self, interval_seconds):

# HACK: take this out when we're using pylibmc and can use
# compression automatically
series_summary_json = json.dumps(series_summary)
series_summary_json = json.dumps(series_summary, sort_keys=True)
cache.set(cache_key, zlib.compress(series_summary_json))
sha = sha1()
sha.update(series_summary_json)
Expand Down

0 comments on commit 123fc12

Please sign in to comment.