mirror of https://github.com/statping/statping
Merge branch 'dev' into Fix-Failure-and-Success-Templates
commit
51ec7276e4
|
@ -1,3 +1,6 @@
|
||||||
|
# 0.90.72 (10-28-2020)
|
||||||
|
- Fixed issue with graphs becoming stuck on reload
|
||||||
|
|
||||||
# 0.90.71 (10-13-2020)
|
# 0.90.71 (10-13-2020)
|
||||||
- Reverted Docker user in Dockerfile
|
- Reverted Docker user in Dockerfile
|
||||||
|
|
||||||
|
|
|
@ -89,10 +89,8 @@ func (s Storage) List() map[string]Item {
|
||||||
|
|
||||||
//Get a cached content by key
|
//Get a cached content by key
|
||||||
func (s Storage) Get(key string) []byte {
|
func (s Storage) Get(key string) []byte {
|
||||||
s.mu.Lock()
|
|
||||||
defer s.mu.Unlock()
|
|
||||||
item := s.items[key]
|
item := s.items[key]
|
||||||
if item.Expired() {
|
if s.items[key].Expired() {
|
||||||
CacheStorage.Delete(key)
|
CacheStorage.Delete(key)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.90.71
|
0.90.72
|
||||||
|
|
Loading…
Reference in New Issue