-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache space indexes #3987
Cache space indexes #3987
Conversation
@@ -99,7 +100,8 @@ type Decomposedfs struct { | |||
stream events.Stream | |||
cache cache.StatCache | |||
|
|||
UserCache *ttlcache.Cache | |||
UserCache *ttlcache.Cache | |||
spaceIDCache mtimesyncedcache.Cache[string, map[string]string] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected ';', found '[' (and 10 more errors)
2c900cc
to
1991fec
Compare
|
||
import "sync" | ||
|
||
type Map[K comparable, V any] struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected ']', found comparable
"time" | ||
) | ||
|
||
type Cache[K comparable, T any] struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected ']', found comparable (and 4 more errors)
|
||
var _ = Describe("Mtimesyncedcache", func() { | ||
var ( | ||
cache mtimesyncedcache.Cache[string, string] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected ';', found '[' (and 3 more errors)
Cache space indexes