mirror of
https://github.com/SSLMate/certspotter.git
synced 2026-02-14 08:34:20 +01:00
scanner: reduce channel queue buffer length
To keep memory consumption down
This commit is contained in:
@@ -244,7 +244,7 @@ func (s *Scanner) Scan(startIndex int64, endIndex int64, processCert ProcessCall
|
||||
*/
|
||||
|
||||
// Start processor workers
|
||||
jobs := make(chan ct.LogEntry, 100000)
|
||||
jobs := make(chan ct.LogEntry, 100)
|
||||
var processorWG sync.WaitGroup
|
||||
for w := 0; w < s.opts.NumWorkers; w++ {
|
||||
processorWG.Add(1)
|
||||
|
||||
Reference in New Issue
Block a user