mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-22 06:14:39 -04:00
remove locking from accounts service
add a cached named rwlock pkg use sync.map in the cache pkg use named rwlock in indexer pkg use sync.map in indexer pkg remove husky
This commit is contained in:
1 parent
f97f0d7342
commit
a02fb890f7
11 files changed
+10554
-131
No files matched your search
@@ -24,7 +24,7 @@ type OIDCProvider interface {
|
||||
// OIDCAuth provides a middleware to check access secured by a static token.
|
||||
func OIDCAuth(optionSetters ...Option) func(next http.Handler) http.Handler {
|
||||
options := newOptions(optionSetters...)
|
||||
tokenCache := cache.NewCache(cache.Size(options.UserinfoCacheSize))
|
||||
tokenCache := cache.NewCache(options.UserinfoCacheSize)
|
||||
|
||||
h := oidcAuth{
|
||||
logger: options.Logger,
|
||||
|
||||
Reference in new issue
Block a user