Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events take a long time to load #1

Open
joh opened this issue Jun 22, 2011 · 0 comments
Open

Events take a long time to load #1

joh opened this issue Jun 22, 2011 · 0 comments
Assignees

Comments

@joh
Copy link
Owner

joh commented Jun 22, 2011

Fetching the events from Google Calendar is rather slow. This is especially true when there are many calendars: for each calendar, an HTTP request is made. Typically 4-5 seconds pass before the events pop up in my GNOME Shell calendar.

At the moment we update the list of events in the following cases:

  1. When the month requested is not in the cache
  2. When the calendar requests a refresh by force_reload=True, which seems to be whenever the calendar is opened by the user.

Suggestions:

  1. Pre-fetch events from a few months before and after the current date.
  2. Ignore force_reload and instead employ a time-based refresh, e.g. every 10 minutes.
@ghost ghost assigned joh Jun 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant