FIX: 100% cpu while parsing feeds
This commit is contained in:
parent
700b3c010f
commit
198731de23
|
@ -42,7 +42,10 @@ module Jobs
|
|||
|
||||
class Feed
|
||||
require 'simple-rss'
|
||||
SimpleRSS.item_tags << SiteSetting.embed_username_key_from_feed.to_sym
|
||||
|
||||
if SiteSetting.embed_username_key_from_feed.present?
|
||||
SimpleRSS.item_tags << SiteSetting.embed_username_key_from_feed.to_sym
|
||||
end
|
||||
|
||||
def initialize
|
||||
@feed_url = SiteSetting.feed_polling_url
|
||||
|
|
Loading…
Reference in New Issue