mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Removing unnecessary redis sync call on feed load.
This commit is contained in:
parent
6a8e8e309b
commit
91c31d4c80
1 changed files with 0 additions and 3 deletions
|
@ -498,9 +498,6 @@ def load_single_feed(request, feed_id):
|
|||
except UserSubscription.DoesNotExist:
|
||||
usersub = None
|
||||
|
||||
if usersub and random.random() < 0.01:
|
||||
usersub.sync_redis()
|
||||
|
||||
if query:
|
||||
stories = feed.find_stories(query, offset=offset, limit=limit)
|
||||
elif usersub and (read_filter == 'unread' or order == 'oldest'):
|
||||
|
|
Loading…
Add table
Reference in a new issue