HomePhabricator
Diffusion Comm 5aeb8c73c799

[lib] Set failedQueryCacheTimeout to 0 in UserIdentityCache

Description

[lib] Set failedQueryCacheTimeout to 0 in UserIdentityCache

Summary: This addresses ENG-9255, and makes it so if a user identity fetch times out, the next time it's requested, we don't return null from the cache, but instead retry the fetch.

Test Plan: I set queryTimeout to 1 second, which made it time out. I confirmed in the logs that after the timeout, a second request was dispatched

Reviewers: varun, will

Reviewed By: varun

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13299

Details

Provenance
ashoatAuthored on Sep 11 2024, 3:34 PM
Reviewer
varun
Differential Revision
D13299: [lib] Set failedQueryCacheTimeout to 0 in UserIdentityCache
Parents
rCOMM5dd8a28b5c71: [identity] avoid returning errors if one-time keys are missing
Branches
Unknown
Tags
Unknown