- replace all inserts into cache with inserts into DDB table
- replace all gets from cache with gets from DDB table
- remove all references to moka from crate
DDB TTL will handle removing old items from the table.
Depends on D11255
Differential D11256
[identity] replace cache calls with DB client method calls varun on Mar 5 2024, 11:12 PM. Authored by Tags None Referenced Files
Details
DDB TTL will handle removing old items from the table. Depends on D11255 tested that password login, registration, and update continue to work as expected on staging. verified that items were eventually automatically removed from the table
Diff Detail
Event TimelineComment Actions
Comment Actions it would succeed, which would have no real impact, i think. but we should still call DeleteItem instead of GetItem to avoid any issues, thanks for calling this out
no, there's nothing sensitive like passwords in this table Comment Actions i've updated D11255 to use DeleteItem in get_workflow(). Now the function retrieves and removes the workflow, so we don't run the risk of retrieving it multiple times |