mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
avoid an extra database roundtrip
This commit is contained in:
@@ -106,8 +106,7 @@ public class FeedRefreshWorker {
|
||||
transaction.begin();
|
||||
|
||||
if (fetchedFeed != null) {
|
||||
feedUpdateService.updateEntries(feed.getUrl(),
|
||||
fetchedFeed.getEntries());
|
||||
feedUpdateService.updateEntries(feed, fetchedFeed.getEntries());
|
||||
if (feed.getLink() == null) {
|
||||
feed.setLink(fetchedFeed.getLink());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user