mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Ignore skip of unread counts if theres no mongodb lag.
This commit is contained in:
parent
21a5d2b28b
commit
b92e564b1f
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ class Dispatcher:
|
|||
feed.title[:30], stories_db.count(), user_subs.count(),
|
||||
feed.num_subscribers, feed.active_subscribers, feed.premium_subscribers))
|
||||
self.calculate_feed_scores_with_stories(user_subs, stories_db)
|
||||
else:
|
||||
elif self.options.get('mongodb_replication_lag'):
|
||||
logging.debug(u' ---> [%-30s] ~BR~FYSkipping computing scores: ~SB%s seconds~SN of mongodb lag' % (
|
||||
feed.title[:30], self.options.get('mongodb_replication_lag')))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue