all repos — flounder @ 8930d5d065a0a16cbd358acd761fc2367dc71f46

A small site builder for the Gemini protocol

Delay pulling feed
alex wennerberg alex@alexwennerberg.com
Sat, 30 Jan 2021 13:16:00 -0800
commit

8930d5d065a0a16cbd358acd761fc2367dc71f46

parent

5f0282a052f57ab57e2e96ca2b7d8a33bb5eb2f5

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M feed.gofeed.go

@@ -22,6 +22,7 @@

func feedsWorker() { log.Println("Starting feeds worker") for { + time.Sleep(time.Hour * 1) users, err := getActiveUserNames() if err != nil { // Handle error somehow

@@ -31,7 +32,6 @@ }

for _, user := range users { writeAllFeeds(user) } - time.Sleep(time.Hour * 1) } }