mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Scheduling feed fetches immediately if found in safety net.
This commit is contained in:
parent
3ef72e6f83
commit
548ea15a9f
1 changed files with 2 additions and 2 deletions
|
@ -994,10 +994,10 @@ class UserSubscription(models.Model):
|
|||
|
||||
if not safety_net: return
|
||||
|
||||
logging.user(user, "~FBFound ~FR%s unscheduled feeds~FB, scheduling..." % len(safety_net))
|
||||
logging.user(user, "~FBFound ~FR%s unscheduled feeds~FB, scheduling immediately..." % len(safety_net))
|
||||
for feed_id in safety_net:
|
||||
feed = Feed.get_by_id(feed_id)
|
||||
feed.set_next_scheduled_update()
|
||||
feed.schedule_feed_fetch_immediately()
|
||||
|
||||
@classmethod
|
||||
def count_subscribers_to_other_subscriptions(cls, feed_id):
|
||||
|
|
Loading…
Add table
Reference in a new issue