Monday, May 19, 2025
1 change
Enhancements to existing features
Calendar attendee processing has been optimized to handle large calendar syncs much faster. This can significantly reduce setup or synchronization time for services like Google Calendar, improving the user experience for calendars with many events.
Original PR description
This change uses python set subtraction over recordset \_\_sub\_\_ on calendar.attendees. Before this change, when doing a large calendar synchronization such as setting up Google Calendar, notified_attendees could be a large recordset of calendar.attendees. When performing a recordset subtraction in _notify_attendees, this uses \_\_sub\_\_ and browse multiple times. Synchronizing around 5000 events took about ~350 seconds (on my own calendar data), where _notify_attendees took ~313 seconds (83%). After this change, _notify_attendees takes ~1 second operating on the same synchronization. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr