mirror of
https://github.com/Xevion/glance.git
synced 2025-12-09 16:07:20 -06:00
Increase lobsters widget cache time
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user