Change lookback to 30 days.
This commit is contained in:
parent
e609afeb02
commit
ac96eaab6d
2
main.go
2
main.go
|
@ -266,7 +266,7 @@ func NewDaemon(conf Config, pl *pcList) *Daemon {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Daemon) Update(urls []string) {
|
func (d *Daemon) Update(urls []string) {
|
||||||
sel := daysAgo(60)
|
sel := daysAgo(30)
|
||||||
for _,url := range urls {
|
for _,url := range urls {
|
||||||
log.Print(" -> ",url)
|
log.Print(" -> ",url)
|
||||||
f := readFeed(url,sel) // do not lock around IO
|
f := readFeed(url,sel) // do not lock around IO
|
||||||
|
|
Loading…
Reference in New Issue
Block a user