zanonmark / Google-4-TbSync

This provider add-on adds Google synchronization capabilities to TbSync. Only contacts and contact groups are currently managed, using Google's People API.
Mozilla Public License 2.0
51 stars 7 forks source link

Repeated sync takes about 30 secs #13

Open xtrailrunner opened 3 years ago

xtrailrunner commented 3 years ago

As I wrote in my review today the sync of contacts takes more than 30 seconds and Thunderbird freezes during that time. This happens only since yesterday. Before the sync was fast. The number of contacts is 1184 in 43 groups.

zanonmark commented 3 years ago

Thanks for Your report.

I would say it only happens since yesterday because I just fixed a bug which prevented contact groups (aka mailing-lists) from being populated when doing a second synchronization: all the mailing-lists were empty, so the update was quicker but wrong.

However, when TbSync will be rewritten to the new WebExtension API and Google-4-TbSync will be ported too, I think I will refactor the code to handle these situations better.

Thanks, MZ

zanonmark commented 3 years ago

Btw this could be related to #14.

MZ

xtrailrunner commented 3 years ago

Thanks, but I sync only one address book.

On Friday, June 4, 2021, 7:22:27 PM GMT+2, Marco Zanon ***@***.***> wrote:  

Btw this could be related to #14.

MZ

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zanonmark commented 3 years ago

Thanks, but I sync only one address book.

Sure, but the issue should be the same.

I think I'm speeding things up once TB91 is released, using Workers.

Thanks, MZ