gemini-search

A simple search engine for Geminispace
git clone git://git.laack.co/gemini-search.git
Log | Files | Refs | README

commit 5fcff806414493fe51e81e7a0b5b5b8ec28480e0
parent 5c65e9231dcb2e377b17ea179738846f6e773c58
Author: Andrew Laack <andrew@laack.co>
Date:   Wed,  6 May 2026 14:45:37 -0500

Fix seeding issue

Diffstat:
Mcrawl/main.go | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/crawl/main.go b/crawl/main.go @@ -320,12 +320,10 @@ func main() { var wg sync.WaitGroup - // TODO: This requires some "seeding" to get going bc these will find there is nothing to pull and stop early - // when queue starts with <20 entries. - for i := 0; i < 20; i++ { wg.Add(1) go worker(db, &wg) + time.Sleep(time.Second * 5) // This allows the queue to be built up before dispatching to help with fresh runs } wg.Wait()