From 74953601dddfd0044f418a5f6ebf1bc141307bea Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 19 May 2019 22:26:08 -0700 Subject: [PATCH] =?UTF-8?q?Increase=20the=20duration=20of=20TimelineViewCo?= =?UTF-8?q?ntroller=E2=80=99s=20database=20fetch=20queue=20from=200.5=20to?= =?UTF-8?q?=202.0.=20This=20will=20still=20allow=20updates=20to=20appear?= =?UTF-8?q?=20in=20a=20timely=20way,=20but=20will=20help=20prevent=20fetch?= =?UTF-8?q?ing=20too=20often=20during=20a=20refresh.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mac/MainWindow/Timeline/TimelineViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/MainWindow/Timeline/TimelineViewController.swift b/Mac/MainWindow/Timeline/TimelineViewController.swift index f6a30fdf1..b0b1c5797 100644 --- a/Mac/MainWindow/Timeline/TimelineViewController.swift +++ b/Mac/MainWindow/Timeline/TimelineViewController.swift @@ -96,7 +96,7 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner { } private var didRegisterForNotifications = false - static let fetchAndMergeArticlesQueue = CoalescingQueue(name: "Fetch and Merge Articles", interval: 0.5) + static let fetchAndMergeArticlesQueue = CoalescingQueue(name: "Fetch and Merge Articles", interval: 2.0, maxInterval: 5.0) private var sortDirection = AppDefaults.timelineSortDirection { didSet {