Browse Source

Increase lobsters widget cache time

Svilen Markov 1 year ago
parent
commit
757f68c872
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/widget/lobsters.go

+ 1 - 1
internal/widget/lobsters.go

@@ -20,7 +20,7 @@ type Lobsters struct {
 }
 }
 
 
 func (widget *Lobsters) Initialize() error {
 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") {
 	if widget.SortBy == "" || (widget.SortBy != "hot" && widget.SortBy != "new") {
 		widget.SortBy = "hot"
 		widget.SortBy = "hot"