when possible, we should get the user identity in question from the redis cache. if we can't get it, then we call identity and -- in the background -- cache the response
Depends on D13639
Paths
| Differential D13640 Authored by varun on Oct 8 2024, 9:36 PM.
Tags None Referenced Files
Subscribers
Details
Summary when possible, we should get the user identity in question from the redis cache. if we can't get it, then we call identity and -- in the background -- cache the response Depends on D13639 Test Plan called getUserFarcasterID in a loop 10 times with a 10 second sleep in between each call and confirmed that only the first invocation of the function led to an identity service API call
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptOct 8 2024, 9:36 PM2024-10-08 21:36:47 (UTC-7) Harbormaster completed remote builds in B32118: Diff 44988.Oct 8 2024, 9:53 PM2024-10-08 21:53:46 (UTC-7) This revision is now accepted and ready to land.Oct 9 2024, 5:57 AM2024-10-09 05:57:47 (UTC-7)
This revision was landed with ongoing or failed builds.Oct 10 2024, 9:10 AM2024-10-10 09:10:00 (UTC-7) Closed by commit rCOMMe22e879f9a0d: [keyserver] cache findUserIdentities response (authored by varun). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B32180: Diff 45060.Oct 10 2024, 9:26 AM2024-10-10 09:26:22 (UTC-7)
Revision Contents
Diff 45062 keyserver/src/updaters/thread-updaters.js
|