cheshire137 / gh-notifications-snoozer

Lists and filters and snoozing pull requests, oh my! This is an app for managing your notifications on GitHub by way of filtering issues and pull requests that are of interest to you.
MIT License
15 stars 10 forks source link

Hitting API rate limit #95

Closed probablycorey closed 7 years ago

probablycorey commented 8 years ago

I'm hitting the GitHub API limit because of the notification look ups:

img

cheshire137 commented 8 years ago

I think instead of automatically fetching all pages of search results, we should fetch just the first and show pagination buttons at the bottom of the tasks list. Then we can load subsequent pages based on user demand.

I think we should continue loading all the pages of notifications, but we should cache the result so we're not continuously refetching them.