Using a probability from redis to determine whether or not to skip a fetch.

This commit is contained in:
Samuel Clay 2012-02-27 16:41:34 -08:00
parent 936088f09c
commit ac639380c0

View file

@ -13,7 +13,7 @@ class UpdateFeeds(Task):
options = {
'fake': bool(MStatistics.get('fake_fetch')),
'quick': bool(MStatistics.get('quick_fetch')),
'quick': float(MStatistics.get('quick_fetch', 0)),
}
if not isinstance(feed_pks, list):