Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
ensure the PERF_THRESHOLD is 25 (the sequel)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Apr 15, 2011
1 parent 0d31571 commit 58f1a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/perf/views.py
Expand Up @@ -16,7 +16,7 @@
def index(request):

# By default don't show less than 25; bug 647398
threshold = getattr(settings, 'PERF_THRESHOLD', 25) or 0
threshold = getattr(settings, 'PERF_THRESHOLD', 25) or 25

addons = (Addon.objects.listed(request.APP)
.filter(ts_slowness__gte=threshold).order_by('-ts_slowness'))
Expand Down

0 comments on commit 58f1a55

Please sign in to comment.