rewrite settings

This commit is contained in:
nkanaev
2026-05-18 21:38:39 +01:00
parent 847ec3861a
commit 76529c895e
5 changed files with 285 additions and 61 deletions

View File

@@ -48,7 +48,7 @@ func (h *Server) GetAddr() string {
}
func (s *Server) Start() {
refreshRate := s.db.GetSettingsValueInt64("refresh_rate")
refreshRate := s.db.GetSettings().RefreshRate
s.worker.FindFavicons()
s.worker.StartFeedCleaner()
s.worker.SetRefreshRate(refreshRate)