fix for graphs being stuck

pull/880/head
hunterlong 2020-10-28 17:57:45 -07:00
parent 057bdb4a72
commit 559e0b9ff4
3 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,6 @@
# 0.90.72 (10-28-2020)
- Fixed issue with graphs becoming stuck on reload
# 0.90.71 (10-13-2020)
- Reverted Docker user in Dockerfile

View File

@ -89,10 +89,8 @@ func (s Storage) List() map[string]Item {
//Get a cached content by key
func (s Storage) Get(key string) []byte {
s.mu.Lock()
defer s.mu.Unlock()
item := s.items[key]
if item.Expired() {
if s.items[key].Expired() {
CacheStorage.Delete(key)
return nil
}

View File

@ -1 +1 @@
0.90.71
0.90.72