feat(kv): persist cache and session into disk before shutdown
This commit is contained in:
10
pkg/cache/redis.go
vendored
10
pkg/cache/redis.go
vendored
@@ -215,3 +215,13 @@ func (store *RedisStore) DeleteAll() error {
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
// Persist Dummy implementation
|
||||
func (store *RedisStore) Persist(path string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Restore dummy implementation
|
||||
func (store *RedisStore) Restore(path string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user