This commit is contained in:
Nazar Kanaev
2020-10-20 20:54:05 +01:00
parent b766cb4ac5
commit 6a63d49823
7 changed files with 21 additions and 21 deletions

View File

@@ -356,7 +356,7 @@ func (s *Storage) DeleteOldItems() {
delete from items where feed_id = ? and status != ? and date_arrived < ?`,
feedId,
STARRED,
time.Now().Add(-time.Hour*24*90), // 90 days
time.Now().Add(-time.Hour*24*90), // 90 days
)
if err != nil {
s.log.Print(err)