fix: do not set normalized name for existing chats and contacts in a migration#7603
fix: do not set normalized name for existing chats and contacts in a migration#7603
Conversation
1455cfa to
117636c
Compare
…migration We got a report that application is not responding after update on Android and getting killed before it can start, suspected to be a slow SQL migration: <#7602> This change removes calculation of normalized names for existing chats and contacts added in <#7548> to exclude the possibility of this migration being slow. New chats and contacts will still get normalized names and all chats and contacts will get it when they are renamed.
117636c to
a2c16c6
Compare
iequidoo
left a comment
There was a problem hiding this comment.
It was instant for me, but i don't have thousands of contacts/chats. Maybe 10000 is too much. Anyway, fine to remove this code completely
It could also be that the issue is |
|
For the record, this did not solve the problem at least entirely, some other migration like maybe 140 still takes a lot of time with large database: #7602 (comment) |
We got a report that application is not responding after update on Android and getting killed before it can start, suspected to be a slow SQL migration:
#7602
This change removes calculation of normalized names for existing chats and contacts added in
#7548
to exclude the possibility of this migration being slow. New chats and contacts will still get normalized names and all chats and contacts will get it when they are renamed.