This commit is contained in:
aozhiwei 2023-07-05 19:45:36 +08:00
parent 31b30faff1
commit e36f23ec19

View File

@ -83,9 +83,11 @@ class PullDbEvent extends BaseService {
await this.saveToDb(row); await this.saveToDb(row);
} }
); );
this.progInfo['eventCount'] += rows.length;
} else { } else {
this.lastIdx = endIdx; this.lastIdx = endIdx;
} }
++this.progInfo['pullCount'];
this.progInfo['lastIdx'] = this.lastIdx.toString(); this.progInfo['lastIdx'] = this.lastIdx.toString();
await this.saveLastIdx(this.lastIdx); await this.saveLastIdx(this.lastIdx);
} catch (err) { } catch (err) {