rewrite icon crawling
This commit is contained in:
parent
f38dcfba3b
commit
851aa1a136
3 changed files with 77 additions and 47 deletions
|
|
@ -41,10 +41,8 @@ func (w *Worker) StartFeedCleaner() {
|
|||
|
||||
func (w *Worker) FindFavicons() {
|
||||
go func() {
|
||||
for _, feed := range w.db.ListFeeds() {
|
||||
if !feed.HasIcon {
|
||||
w.FindFeedFavicon(feed)
|
||||
}
|
||||
for _, feed := range w.db.ListFeedsMissingIcons() {
|
||||
w.FindFeedFavicon(feed)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue