Split the xxxIdList
to chunks when map it to payload to prevent block the event loop
#1450
Labels
xxxIdList
to chunks when map it to payload to prevent block the event loop
#1450
Wechaty v0.17.116
The above code will block the event loop for over 100 seconds when we have too many contacts.
For example, I have over 150,000 contacts and it will have to use 8GB memory and wait more than ten minutes before it crashed.
The text was updated successfully, but these errors were encountered: