remove close method

This commit is contained in:
Fenny
2020-11-05 06:08:05 +01:00
parent 5571999805
commit 86b9cfe4c1
7 changed files with 3 additions and 37 deletions

View File

@@ -83,11 +83,6 @@ func (s *Storage) Clear() error {
return nil
}
// Close the storage
func (s *Storage) Close() error {
return nil
}
func (s *Storage) gc() {
for t := range time.NewTicker(s.gcInterval).C {
now := t.Unix()