1
This commit is contained in:
parent
be5e3377a1
commit
1262e4cb76
@ -106,6 +106,7 @@ class DbEventProcess extends BaseService {
|
|||||||
this.progInfo['procLastIdx'] = this.lastIdx.toString();
|
this.progInfo['procLastIdx'] = this.lastIdx.toString();
|
||||||
await this.saveLastIdx(this.lastIdx);
|
await this.saveLastIdx(this.lastIdx);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.log(err.stack);
|
||||||
log.error(logHead + err);
|
log.error(logHead + err);
|
||||||
await utils.sleep(5000 + utils.randRange(1000, 3000));
|
await utils.sleep(5000 + utils.randRange(1000, 3000));
|
||||||
}
|
}
|
||||||
@ -136,7 +137,7 @@ class DbEventProcess extends BaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getInstanceName() {
|
getInstanceName() {
|
||||||
const instName = this.getNetId() + '.' + this.getContractName() + '.' + this.getEventName();
|
const instName = this.getNetId() + ' ' + this.getContractName() + '.' + this.getEventName() + ' dbprocess';
|
||||||
return instName;
|
return instName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user