1c17ff5dd9
* doFetchModBlockedList: don't block ui thread doFetchModBlockedList is blocking the ui thread. Duplicate data in `doFetchModBlockedList::blockListsPerChannel` to about 1000. The tab is dead when function hits, about 4s after reload. - Yield occasionally using the `setTimeout` method. - Doing a chunk size of 1 for now so we don't have to yield the inner loop as well (seems good enough). This is just based on a relatively large blocklist size. - Can't do `await` in a callback, so must change the `forEach` to a `for`. * yield thread in storeList Co-authored-by: infinite-persistence <inf.persistence@gmail.com> |
||
---|---|---|
.. | ||
app.js | ||
blocked.js | ||
claims.js | ||
collections.js | ||
comments.js | ||
content.js | ||
file.js | ||
file_info.js | ||
notifications.js | ||
publish.js | ||
reactions.js | ||
reportContent.js | ||
rewards.js | ||
search.js | ||
settings.js | ||
subscriptions.js | ||
sync.js | ||
tags.js | ||
user.js | ||
wallet.js | ||
websocket.js |