This commit is contained in:
aozhiwei 2023-07-05 20:05:39 +08:00
parent 43ff863fe9
commit 55d4098be7

View File

@ -59,6 +59,7 @@ class PullDbEvent extends BaseService {
try {
const startIdx = this.getStartIdx();
const endIdx = this.getEndIdx();
++this.progInfo['pullCount'];
if (startIdx >= endIdx) {
return;
}
@ -87,7 +88,6 @@ class PullDbEvent extends BaseService {
} else {
this.lastIdx = endIdx;
}
++this.progInfo['pullCount'];
this.progInfo['lastIdx'] = this.lastIdx.toString();
await this.saveLastIdx(this.lastIdx);
} catch (err) {