Details
Details
- Run the old version of the app, create some drafts, close the app
- Run the new version of the app, check if drafts still exist
- Explore the app, check if there are any problems
- Compare redux and sqlite from before and after, and check if all ids were converted
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I think there is a performance problem here, you call getClientDBStore() at least twice, which is a very heavy operation and executes in sequence things that can be wrapped in Promise.all. Can you refactor this to:
- call getClientDBStore() only once and make the entire logic operate on this result
- create promises and put them into Promise.all?
native/redux/persist.js | ||
---|---|---|
598–606 ↗ | (On Diff #28287) | can this be defined in a separate function with a descriptive name? |
602 ↗ | (On Diff #28287) | I think it's better to use keyserverPrefixID instead of 256 |
611–620 ↗ | (On Diff #28287) | my comments from updateClientDBMessageStoreThreads also applies here |
Comment Actions
Get all stores at the same time and await all updates concurrently. Extract conversion functions.