From 592815ba5732eb8110adef2bde55256799c37962 Mon Sep 17 00:00:00 2001 From: demo Date: Sat, 30 May 2026 23:18:50 -0400 Subject: feat: add maxDepth argument to workers version It's currently unused though. --- workers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'workers.go') diff --git a/workers.go b/workers.go index 4d646fd..c162954 100644 --- a/workers.go +++ b/workers.go @@ -15,7 +15,7 @@ import ( */ // workers launches a worker queue for crawling a given Web domain. -func workers(startURL url.URL, maxConcurrency, maxURLs int) { +func workers(startURL url.URL, maxConcurrency, maxURLs, maxDepth int) { worklist := make(chan []packet) // Unseen URLs. -- cgit v1.2.3