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
Make ical feed generation of meetings not slow #3321
Conversation
8f6ddcc
to
5a18f21
Compare
The lookup for participating was very expensive and slow. It would cause timeouts so some users' calendars would not load.
5a18f21
to
57a167f
Compare
57a167f
to
16c3fdb
Compare
Sorry about the noise in the diff. I also fixed some types here and there when I was working :)) |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3321 +/- ##
=======================================
Coverage 88.34% 88.34%
=======================================
Files 661 661
Lines 20938 20949 +11
=======================================
+ Hits 18498 18508 +10
- Misses 2440 2441 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM🥃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, much needed!
ABA-448 Fix slow ical feed generation breaking calendar sync
It has broken the calendar sync for many people |
The lookup for participating was very expensive and slow. It would cause
timeouts so some users' calendars would not load.
UNTESTEDThis is my theory at least. I just wrote this code and haven't had the time to test it. But eventsdoes not suffer from this problem so I hope my suspicions are correct.
Tested the code in staging with a hotpatch. Works great now :)
Fixes ABA-448