Skip to content

Commit

Permalink
Ensure our modifier represents the MINUTE_NORMALIZATION setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Sep 20, 2012
1 parent aa00f44 commit 77e7987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sentry/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ def _get_chart_data(self, queryset, max_days=90, db='default', key=None):
else:
g_type = 'minute'
d_type = 'minutes'
points = max_days * 24 * 4
modifier = 15
modifier = settings.MINUTE_NORMALIZATION
points = max_days * 24 * (60 / modifier)

min_date = today - datetime.timedelta(days=max_days)

Expand Down

0 comments on commit 77e7987

Please sign in to comment.