mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use java standard http client because apache http clients should be reused because they support pooling but we don't need that
This commit is contained in:
@@ -36,7 +36,7 @@ public class FeedFetcher {
|
||||
private final Set<FeedURLProvider> urlProviders;
|
||||
|
||||
public FeedFetcherResult fetch(String feedUrl, boolean extractFeedUrlFromHtml, String lastModified, String eTag, Date lastPublishedDate,
|
||||
String lastContentHash) throws FeedException, IOException, NotModifiedException {
|
||||
String lastContentHash) throws FeedException, IOException, NotModifiedException, InterruptedException {
|
||||
log.debug("Fetching feed {}", feedUrl);
|
||||
|
||||
int timeout = 20000;
|
||||
|
||||
Reference in New Issue
Block a user