module documentation
Throttled token cache helper.
ThrottledTokenCache wraps TokenCache. It prevents frequent
disk reads by keeping the value in memory for a configurable period.
The class is useful when many coroutines may request the same token frequently and you want to reduce filesystem and YAML parsing overhead.
Example
cache = ThrottledTokenCache("service-account") tok = await cache.get()
| Class | |
A throttled file-based token cache. |
| Variable | log |
Undocumented |