mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Invalidating cache when new stories come in.
This commit is contained in:
parent
bd0099ad81
commit
27a315fd07
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ def refresh_feeds(feeds, force=False):
|
|||
)
|
||||
for us in usersubs:
|
||||
us.count_unread()
|
||||
cache.delete('usersub:%s' % us.user_id)
|
||||
return
|
||||
|
||||
def load_feeds(request):
|
||||
|
|
Loading…
Add table
Reference in a new issue