mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding 1.5X as many stories to the dupe detector. Hope I don't regret this.
This commit is contained in:
parent
1252819c8c
commit
ce52a329c2
3 changed files with 2 additions and 3 deletions
|
@ -100,7 +100,6 @@
|
|||
[self showFolderPicker];
|
||||
|
||||
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
|
||||
NSLog(@"%@", self.siteTable.frame);
|
||||
self.siteTable.hidden = NO;
|
||||
self.siteScrollView.frame = CGRectMake(self.siteScrollView.frame.origin.x,
|
||||
self.siteScrollView.frame.origin.y,
|
||||
|
@ -278,6 +277,7 @@
|
|||
[request setDelegate:self];
|
||||
[request setDidFinishSelector:@selector(requestFinished:)];
|
||||
[request setDidFailSelector:@selector(requestFailed:)];
|
||||
[request setTimeOutSeconds:30];
|
||||
[request startAsynchronous];
|
||||
}
|
||||
|
||||
|
|
|
@ -494,7 +494,6 @@
|
|||
|
||||
if (unread_count) {
|
||||
var next_story = NEWSBLUR.assets.stories.get_next_unread_story();
|
||||
window.n = next_story;
|
||||
if (next_story) {
|
||||
this.counts['find_next_unread_on_page_of_feed_stories_load'] = 0;
|
||||
next_story.set('selected', true);
|
||||
|
|
|
@ -227,7 +227,7 @@ class ProcessFeed:
|
|||
# story_guid__in=story_guids,
|
||||
story_date__gte=start_date,
|
||||
story_feed_id=self.feed_id
|
||||
).limit(len(story_guids)))
|
||||
).limit(min(int(len(story_guids)*1.5), 10)))
|
||||
|
||||
# MStory.objects(
|
||||
# (Q(story_date__gte=start_date) & Q(story_date__lte=end_date))
|
||||
|
|
Loading…
Add table
Reference in a new issue