will no longer grow db unbounded

This commit is contained in:
Jeffrey Paul 2020-03-24 21:15:40 -07:00
parent cc2e470ffe
commit ffe6670ec8
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ func (f *Fetcher) StoreFrontPage() error {
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
// FIXME this will grow unbounded and make the file too big if
// I don't clean this up or otherwise limit the data in here
f.db.Create(&s)
// disabled for now
//f.db.Create(&s)
// check to see if the item was on the frontpage already or not
var c int