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
No Lint Coverage - Unit
No Test Coverage
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 | can this be defined in a separate function with a descriptive name? | |
602 | I think it's better to use keyserverPrefixID instead of 256 | |
611–620 | my comments from updateClientDBMessageStoreThreads also applies here |
Comment Actions
Get all stores at the same time and await all updates concurrently. Extract conversion functions.