View definition

(Options).HostBufferFactor

Defined in github.com/PuerkitoBio/gocrawl/options.go

Description

HostBufferFactor controls the size of the map and channel used internally to manage hosts. If there are 5 different hosts in the initial seeds, and HostBufferFactor is 10, it will create buffered channel of 5 * 10 (50) (and a map of hosts with that initial capacity, though the map will grow as needed).

HostBufferFactor is referenced in 1 repository

github.com/PuerkitoBio/gocrawl