1
This commit is contained in:
parent
43ff863fe9
commit
55d4098be7
@ -59,6 +59,7 @@ class PullDbEvent extends BaseService {
|
|||||||
try {
|
try {
|
||||||
const startIdx = this.getStartIdx();
|
const startIdx = this.getStartIdx();
|
||||||
const endIdx = this.getEndIdx();
|
const endIdx = this.getEndIdx();
|
||||||
|
++this.progInfo['pullCount'];
|
||||||
if (startIdx >= endIdx) {
|
if (startIdx >= endIdx) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -87,7 +88,6 @@ class PullDbEvent extends BaseService {
|
|||||||
} 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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user