Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor RssReader #1537

Merged

Conversation

maestromac
Copy link
Member

What type of PR is this? (check all applicable)

  • Refactor
  • Bug Fix (?)

Description

  • Moved RssReader to services/
  • Extract parsing logic from RssReader to RssReader::Assembler
  • Possibly improved the RssReader's fetching speed

Related Tickets & Documents

#1439

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

n/a

Added to documentation?

  • no documentation needed

@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Jan 14, 2019
next if feed_url == ""

create_articles_for_user(u)
User.where.not(feed_url: [nil, ""]).find_each do |user|
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to find_each in the hope that it reduce chances of SIGTERM

@maestromac maestromac force-pushed the bug/1439-improve-rss-feed-fetching branch from e7ab377 to fae41a9 Compare January 14, 2019 16:30
@maestromac maestromac changed the title Refactor RssReader [WIP] Refactor RssReader Jan 14, 2019
@pr-triage pr-triage bot removed the PR: unreviewed bot applied label for PR's with no review label Jan 14, 2019
@maestromac maestromac changed the title [WIP] Refactor RssReader Refactor RssReader Jan 14, 2019
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Jan 14, 2019
@pr-triage pr-triage bot added PR: reviewed-approved bot applied label for PR's where reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Jan 14, 2019
@benhalpern benhalpern merged commit f780e5f into forem:master Jan 14, 2019
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: reviewed-approved bot applied label for PR's where reviewer approves changes labels Jan 14, 2019
@maestromac maestromac deleted the bug/1439-improve-rss-feed-fetching branch January 14, 2019 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants