From dba253601e90dcae725c172db0d94323d89f4f43 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 17 Oct 2020 19:41:37 -0500 Subject: [PATCH] Remove test for URL's that might not be feeds since it is running on the main thread. Issue #2498 --- .../Account/LocalAccount/LocalAccountRefresher.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift b/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift index cc39bf82e..3fb364410 100644 --- a/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift +++ b/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift @@ -135,16 +135,6 @@ extension LocalAccountRefresher: DownloadSessionDelegate { return false } - if data.count > 4096 { - let parserData = ParserData(url: feed.url, data: data) - if FeedParser.mightBeAbleToParseBasedOnPartialData(parserData) { - return true - } else { - delegate?.localAccountRefresher(self, requestCompletedFor: feed) - return false - } - } - return true }