1
This commit is contained in:
parent
93c39cd96f
commit
f7abe9f90c
@ -12,9 +12,14 @@ class BcSpider extends BaseTask {
|
|||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
const netList = metaFactory.getNetList();
|
const netList = metaFactory.getNetList();
|
||||||
|
netList.forEach
|
||||||
|
(
|
||||||
|
(net) => {
|
||||||
|
this.initNet(net);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async initEventProcess() {
|
async initNet(net) {
|
||||||
const initInstance = (instance) => {
|
const initInstance = (instance) => {
|
||||||
instance['pullCount'] = 0;
|
instance['pullCount'] = 0;
|
||||||
instance['eventCount'] = 0;
|
instance['eventCount'] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user