Skip to content

Instantly share code, notes, and snippets.

@satyr
Created May 22, 2009 05:13
Show Gist options
  • Save satyr/115939 to your computer and use it in GitHub Desktop.
Save satyr/115939 to your computer and use it in GitHub Desktop.
diff --git a/ubiquity/modules/feedaggregator.js b/ubiquity/modules/feedaggregator.js
--- a/ubiquity/modules/feedaggregator.js
+++ b/ubiquity/modules/feedaggregator.js
@@ -98,17 +98,19 @@ function FeedAggregator(feedManager, mes
}
}
};
self.refresh = function FA_refresh() {
let feeds = feedManager.getSubscribedFeeds();
+ var t = new Date;
feeds.forEach(function(feed) { feed.refresh(); });
+ Utils.reportInfo('refresh time: '+ (new Date - t));
if (feedsChanged) {
commands = {};
commandNames = [];
nounTypes = [];
pageLoadFuncLists = [];
feedsChanged = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment