From 9e860321bdf242f8ed64b3b1972604e6bb214269 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 17 Feb 2018 15:14:48 -0800 Subject: [PATCH] Add a short duration (0.05 seconds) coalescing queue to AppDelegate for the rest of the app to use. --- Evergreen/AppDelegate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Evergreen/AppDelegate.swift b/Evergreen/AppDelegate.swift index 1e3062ac3..af61ab05b 100644 --- a/Evergreen/AppDelegate.swift +++ b/Evergreen/AppDelegate.swift @@ -26,7 +26,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, var authorAvatarDownloader: AuthorAvatarDownloader! var feedIconDownloader: FeedIconDownloader! var appName: String! - + var coalescingQueue = CoalescingQueue(name: "UI Queue", interval: 0.05) + @IBOutlet var debugMenuItem: NSMenuItem! @IBOutlet var sortByOldestArticleOnTopMenuItem: NSMenuItem! @IBOutlet var sortByNewestArticleOnTopMenuItem: NSMenuItem!