Re-enable caching for somewhat expensive mirror status query

This should be a small enough chunk of data that it isn't super
expensive to put into and pull out of memcached.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2013-06-20 14:11:23 -05:00
parent 0cac18ea4f
commit 9e4a093914

View File

@ -21,7 +21,7 @@ def dictfetchall(cursor):
for row in cursor.fetchall()
]
@cache_function(178)
def status_data(cutoff_time, mirror_id=None):
if mirror_id is not None:
params = [cutoff_time, mirror_id]