broke the build, this fixes it.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5d7ecfa2cc
commit
fe1c4df4f1
@ -82,6 +82,7 @@ func (f *Fetcher) StoreFrontPage() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return (err)
|
return (err)
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
s := HNStoryRank{
|
s := HNStoryRank{
|
||||||
HNID: uint(id),
|
HNID: uint(id),
|
||||||
Rank: uint(i + 1),
|
Rank: uint(i + 1),
|
||||||
@ -89,6 +90,8 @@ func (f *Fetcher) StoreFrontPage() error {
|
|||||||
Title: item.Title,
|
Title: item.Title,
|
||||||
FetchedAt: t,
|
FetchedAt: t,
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
|
//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
|
// 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
|
// I don't clean this up or otherwise limit the data in here
|
||||||
|
Loading…
Reference in New Issue
Block a user