Skip to main content

MAX_CACHED_TARGET

Constant MAX_CACHED_TARGET 

Source
const MAX_CACHED_TARGET: usize = _; // 2_112usize
Expand description

The longest target reference the cache keeps an entry for: the longest DID there is, with room for a service id. A longer one is resolved on every call, so a header’s length does not decide how much the cache holds.