- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for doneBlocking (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go
key := keyFunc(a.hashPool, auds, token) if record, ok := a.cache.get(key); ok { // Record cache hit doneAuthenticating(true) return record } // Record cache miss doneBlocking := stats.blocking(ctx) defer doneBlocking() defer doneAuthenticating(false) c := a.group.DoChan(key, func() (val interface{}, _ error) { // always use one place to read and write the output of AuthenticateToken
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9.8K bytes - Viewed (0)