删除 ADParserSelect 线程锁
This commit is contained in:
parent
2732ccef90
commit
2c996115f0
3
logdb.go
3
logdb.go
|
@ -125,9 +125,6 @@ type ADResonse struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (logdb *LogDB) ADParserSelect(spider_id int) []ADResonse {
|
func (logdb *LogDB) ADParserSelect(spider_id int) []ADResonse {
|
||||||
logdb.mutex.Lock()
|
|
||||||
defer logdb.mutex.Unlock()
|
|
||||||
|
|
||||||
pid := logdb.pid + 2000
|
pid := logdb.pid + 2000
|
||||||
logdb.adCheckRecover(spider_id)
|
logdb.adCheckRecover(spider_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user