Skip to content

Commit

Permalink
Performance improvements for weekly email
Browse files Browse the repository at this point in the history
  • Loading branch information
arfon committed Aug 4, 2023
1 parent 0a6379a commit fea500f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/editorials.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace :editorials do

pending_issues = review_issues.select { |i| i.editor == "Pending" }

closed_issues = ReviewIssue.download_completed_reviews(reviews_repo)
# closed_issues = ReviewIssue.download_completed_reviews(reviews_repo)

recently_closed_issues = closed_issues.select { |i| i.closed_at > 1.week.ago }
recently_closed_issues = [] # closed_issues.select { |i| i.closed_at > 1.week.ago }

# Loop through editors and send them their weekly email :-)
Editor.active.each do |editor|
Expand Down

0 comments on commit fea500f

Please sign in to comment.