check out da size of feedz
Jes Olson j3s@c3f.net
Thu, 01 Aug 2024 08:16:51 -0400
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
reaper/reaper.go
→
reaper/reaper.go
@@ -2,10 +2,12 @@ package reaper
import ( "errors" + "fmt" "log" "sort" "sync" "time" + "unsafe" "git.j3s.sh/vore/rss" "git.j3s.sh/vore/sqlite"@@ -95,6 +97,7 @@ err := f.Update()
if err != nil { r.handleFeedFetchFailure(f.UpdateURL, err) } + fmt.Printf("size of %s: %d bytes\n", f.UpdateURL, unsafe.Sizeof(f)) } func (r *Reaper) handleFeedFetchFailure(url string, err error) {