Skip to content

A self-hosted dashboard that puts all your feeds in one place

Increase lobsters widget cache time

Svilen Markov757f68c8720e
diff --git a/internal/widget/lobsters.go b/internal/widget/lobsters.go
index d9a8c43..d402db4 100644
--- a/internal/widget/lobsters.go
+++ b/internal/widget/lobsters.go
@@ -20,7 +20,7 @@ type Lobsters struct {
}
func (widget *Lobsters) Initialize() error {
- widget.withTitle("Lobsters").withCacheDuration(30 * time.Minute)
+ widget.withTitle("Lobsters").withCacheDuration(time.Hour)
if widget.SortBy == "" || (widget.SortBy != "hot" && widget.SortBy != "new") {
widget.SortBy = "hot"