JackonYang/distributed-vertical-crawlers

renrenDb 连接数优化

Closed this issue · 0 comments

当前处理方式为:每个数据库操作的方法独立建立并关闭链接。

若系统并发进行,并发调用 renrenDb 函数,连接数过多。

所有方法,共用一个链接。