From f7f47f716de12cc67d64c2134f1e854957f016cb Mon Sep 17 00:00:00 2001 From: Jan <45685070+LeRoid-hub@users.noreply.github.com> Date: Sun, 3 Nov 2024 22:07:13 +0100 Subject: [PATCH] Update cache.go --- models/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/cache.go b/models/cache.go index a6b2402..6ed8146 100644 --- a/models/cache.go +++ b/models/cache.go @@ -19,7 +19,7 @@ func (w *WeatherCache) SetData(humidity float64, temperature float64) { w.Humidity = humidity w.Temperature = temperature w.timestamp = time.Now() - w.duration = 60 + w.duration = 300 } func (w *WeatherCache) GetData() (float64, float64) {