Skip to content

Commit

Permalink
feat: make shop cache expire in one minute
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl committed Sep 15, 2024
1 parent b93edda commit ed97554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/shop.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type ShopService struct {
func NewShopService() *ShopService {
return &ShopService{
config: config.Get(),
cache: cache.New(6*time.Hour, 6*time.Hour),
cache: cache.New(1*time.Minute, 1*time.Minute),
}
}

Expand Down

0 comments on commit ed97554

Please sign in to comment.