Let's try using dates again in feed fetching existance checks.

This commit is contained in:
Samuel Clay 2010-12-16 17:25:51 -05:00
parent 6d8c34c752
commit 12891aabcf

View file

@ -206,8 +206,8 @@ class ProcessFeed:
# end_date = story.get('published') # end_date = story.get('published')
story_guids.append(story.get('guid') or story.get('link')) story_guids.append(story.get('guid') or story.get('link'))
existing_stories = MStory.objects( existing_stories = MStory.objects(
story_guid__in=story_guids, # story_guid__in=story_guids,
# story_date__gte=start_date, story_date__gte=start_date,
story_feed_id=self.feed.pk story_feed_id=self.feed.pk
).limit(len(story_guids)) ).limit(len(story_guids))