diff --git a/src/statusscreen/SL.go b/src/statusscreen/SL.go index 37e8206..a229c39 100644 --- a/src/statusscreen/SL.go +++ b/src/statusscreen/SL.go @@ -58,7 +58,8 @@ func (sl *SL) GetOutput() []string { // Check if it's time to refresh yet if sl.nextRefresh <= time.Now().Unix() { - sl.getData() + sl.nextRefresh += 10 + go sl.getData() } for _, v := range sl.lastResponse.ResponseData.Metros {