use queue when saving
This commit is contained in:
parent
5b6a558048
commit
f50a638f75
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ export default class {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const data = update(newTMPHtlcFailureData())
|
const data = update(newTMPHtlcFailureData())
|
||||||
await entityManager.getRepository(HtlcFailures).save({ key, value: data })
|
await this.txQueue.PushToQueue<HtlcFailures>({ exec: async db => db.getRepository(HtlcFailures).save({ key, value: data }), dbTx: false })
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue