fix(sessions): periodically cleanup expired sessions (#1939)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2023-10-17 06:03:42 +03:00
committed by GitHub
parent d60786c3b2
commit 7f6534a52d
7 changed files with 198 additions and 40 deletions
+4
View File
@@ -52,6 +52,10 @@ type ImageStore struct {
commit bool
}
func (is *ImageStore) Name() string {
return is.storeDriver.Name()
}
func (is *ImageStore) RootDir() string {
return is.rootDir
}
+1
View File
@@ -19,6 +19,7 @@ type StoreController interface {
}
type ImageStore interface { //nolint:interfacebloat
Name() string
DirExists(d string) bool
RootDir() string
RLock(*time.Time)