summaryrefslogtreecommitdiff
path: root/workers.go
diff options
context:
space:
mode:
Diffstat (limited to 'workers.go')
-rw-r--r--workers.go2
1 files changed, 1 insertions, 1 deletions
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.