Page MenuHomePhabricator

[lib] Store expirationTime instead of cacheInsertionTime in ENSCache
ClosedPublic

Authored by ashoat on Feb 3 2023, 12:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 2:18 AM
Unknown Object (File)
Fri, Nov 22, 2:18 AM
Unknown Object (File)
Fri, Nov 22, 2:18 AM
Unknown Object (File)
Fri, Nov 22, 2:17 AM
Unknown Object (File)
Oct 22 2024, 3:19 AM
Unknown Object (File)
Oct 22 2024, 3:19 AM
Unknown Object (File)
Oct 22 2024, 3:03 AM
Unknown Object (File)
Oct 21 2024, 3:54 PM
Subscribers

Details

Summary

This will allow us to vary the cache timeout for different kinds of values. I want to make failed fetches (due to network issues, not due to nonexistant ENS name) expire more quickly than successful ones.

Test Plan

Playing around with ENS on native and web

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage