Browse Source

Adjust minimum and maximum cache refresh intervals to 5m and 15m respectively

James Mills 1 week ago
parent
commit
1bc7f8d6a6
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 4
      internal/cache.go

4
internal/cache.go

@ -33,8 +33,8 @@ const (
podInfoUpdateTTL = time.Hour * 24
minimumFeedRefresh = 60.0 // 1m
maximumFeedRefresh = 600.0 // 10m
minimumFeedRefresh = 300.0 // 5m
maximumFeedRefresh = 900.0 // 15m
movingAverageWindow = 7 // no. of most recent twts in moving avg calc
)

Loading…
Cancel
Save