andeya / pholcus

Pholcus is a distributed high-concurrency crawler software written in pure golang
Apache License 2.0
7.58k stars 1.7k forks source link

使用Context的AddQueue方法并发添加元素时,直接挂了请问是为什么呢? #125

Closed JasonkayZK closed 1 year ago

JasonkayZK commented 4 years ago

使用Context的AddQueue方法并发添加元素时,执行到一半报错:

fatal error: concurrent map read and map write