Conditionally use default persist storage API or database depending on whether database is supported or not.
Depends on D7666
Paths
| Differential D7667 Authored by kamil on Apr 27 2023, 7:47 AM.
Details Summary Conditionally use default persist storage API or database depending on whether database is supported or not. Depends on D7666 Test Plan Switch to commReduxStorageEngine and test if it works for not supported database
Diff Detail
Event Timelinekamil held this revision as a draft. Herald added subscribers: atul, ashoat. · View Herald TranscriptApr 27 2023, 7:47 AM2023-04-27 07:47:07 (UTC-7) Harbormaster completed remote builds in B18875: Diff 25853.Apr 27 2023, 8:04 AM2023-04-27 08:04:28 (UTC-7) Comment Actions Wondering if this is the best solution. How about having two separate storage engines, one with only db and one with redux storage? Then we could conditionally set one or the other, but each of them would be a lot simpler. This revision is now accepted and ready to land.Apr 28 2023, 4:37 AM2023-04-28 04:37:40 (UTC-7)
Harbormaster completed remote builds in B19275: Diff 26377.May 11 2023, 3:53 AM2023-05-11 03:53:50 (UTC-7) Closed by commit rCOMMfd0203f1c83a: [web-db] choose storage engine depending on whether database is supported or not (authored by kamil). · Explain WhyMay 11 2023, 4:03 AM2023-05-11 04:03:17 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 25853 web/redux/comm-redux-storage-engine.js
|