search for icons only during startup and after adding feeds

This commit is contained in:
Nazar Kanaev
2021-04-02 21:10:17 +01:00
parent c8d6363677
commit fa92ea16b0
4 changed files with 25 additions and 19 deletions

View File

@@ -41,6 +41,7 @@ func (h *Server) GetAddr() string {
func (s *Server) Start() {
refreshRate := s.db.GetSettingsValueInt64("refresh_rate")
s.worker.FindFavicons()
s.worker.StartFeedCleaner()
s.worker.SetRefreshRate(refreshRate)
if refreshRate > 0 {