mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: 100% cpu while parsing feeds
This commit is contained in:
parent
700b3c010f
commit
198731de23
@ -42,7 +42,10 @@ module Jobs
|
|||||||
|
|
||||||
class Feed
|
class Feed
|
||||||
require 'simple-rss'
|
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
|
def initialize
|
||||||
@feed_url = SiteSetting.feed_polling_url
|
@feed_url = SiteSetting.feed_polling_url
|
||||||
|
Loading…
Reference in New Issue
Block a user