Force-refresh feeds that failed before (#6332)
Apparently some servers return "Not Modified", even though a broken feed was fixed in the meantime. When refreshing all feeds, now force-refresh the feeds that previously failed.
This commit is contained in:
parent
a5d4864776
commit
e58e2d0639
|
@ -468,6 +468,9 @@ public class DownloadService extends Service {
|
|||
if (feed.getPreferences().getKeepUpdated()) {
|
||||
DownloadRequest.Builder builder = DownloadRequestCreator.create(feed);
|
||||
builder.withInitiatedByUser(initiatedByUser);
|
||||
if (feed.hasLastUpdateFailed()) {
|
||||
builder.setForce(true);
|
||||
}
|
||||
addNewRequest(builder.build());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue