will no longer grow db unbounded
This commit is contained in:
parent
cc2e470ffe
commit
ffe6670ec8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user